【西二旗向】6个你应该在2018年学习的API

-回复 -浏览
楼主 2020-11-20 14:17:28
举报 只看此人 收藏本贴 楼主

#6 APIs You Should Learn in 2018

【西二旗向】6个你应该在2018年学习的API

> 翻译:凤梨是只胖柯基

> 校阅:PC

> 技术顾问:OTTO


API:API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。


(本文所有图片来源于网络,版权归原作者所有)

Many of the web’s most popular platforms provide access to their own APIs, allowing developers to solve problems and even augment the services of the companies that provide API access. The biggest APIs handle billions of requests every day, and there’s no doubt that APIs firmly impact business bottom lines. For an example, think of popular dating service Tinder, which uses Facebook API access to manage user accounts (letting people sign in with Facebook), import photos, and display mutual friends.

许多主流的网络平台都提供了他们的API接口/访问权限,允许开发人员们去解决问题,甚至增强提供API访问公司的服务。 最大的API每天处理数十亿次请求。毫无疑问,API对公司利润的影响至关重要。举个例子,目前流行的约会软件Tinder,它使用Facebook API接口来管理用户账户(即允许人们使用Facebook账号登录),导入照片并显示其共同好友。

While the list of publicly available APIs stretches into the thousands, choosing an API to experiment with at random isn’t always the most useful approach for developers. Instead of spending your time exploring APIs from the many options available and hoping they turn out to be useful, consider this list of six APIs you should learn for 2018. The list includes machine learning APIs, contact APIs, and everything in between.

虽然公开可用API的个数已经扩展到数千个,但随机选择API来试验并不是开发人员最有用的方法。与其花费时间从许多可用选项中挑选API,并希望它们变得有用,不如考虑下面这份《你应该在2018年学习的六个API清单》。该清单包括机器学习API、联系人API以及两者之间所有的内容。

##IBM Watson API

Machine learning, big data analysis, and artificial intelligence all look set to play a huge role in building applications over the coming years. The IBM Watson API is definitely worth learning because it offers developers the opportunity to build smarter applications, such as intelligent chatbots, and smart health apps that use past data to make predictions about various user health metrics.

机器学习、大数据分析和人工智能看起来在未来几年将在开发应用程序方面发挥巨大的作用。IBM沃森API绝对值得学习,因为它为开发人员提供了构建智能应用的机会,例如智能聊天机器人,以及使用过去的数据来预测用户各种健康指标的智能健康类APP。

Furthermore, integration with IBM Watson can unlock hidden value in user data, including user modelling that makes predictions about the social characteristics of people based on how they use an application. This allows for a more customized application experience for the end user and increased engagement. IBM Watson’s API is a RESTful interface.

此外,结合IBM 沃森可以解锁用户数据中的潜在价值:包括用户建模,即根据用户使用应用程序的方式预测人们的社交特征。这为最终用户提供了更个性化的应用体验,并提高了用户参与度。 IBM Watson的API是一个RESTful界面。

*知乎:怎样用通俗的语言解释REST,以及RESTful?*

*https://www.zhihu.com/question/28557115*

##Blockstrap API

With an increasing number of companies looking to accept cryptocurrencies as a form of payment, it’s imperative for developers to learn a dedicated blockchain API. Such APIs are particularly pertinent for developers in the e-commerce space.

随着越来越多的公司希望接受加密货币作为付款方式,开发人员必须学习专门的区块链API。这样的API对于电子商务领域的开发人员特别有用。(Blockstrap 是 Neuroware 公司推出的一款数字货币API)。

Blockstrap API is a complete Bitcoin development stack provided by Malaysian company Neurowave for connecting an app to the blockchain, allowing developers to build Bitcoin, Litecoin, and other cryptocurrency-enabled applications. Expedia, Microsoft, and Subway are just some of the large companies from a diverse range of industries looking to accept cryptocurrency as a form of payment for their products or services.

Blockstrap API是由马来西亚公司Neurowave提供的一个完整的比特币开发栈,用于将应用程序连接到区块链,允许人员建立支持比特币、莱特币和其他加密货币支付的APP。 艾派迪、微软和赛百味是其中来自不同行业的一些大公司,希望接受加密货币作为其产品或服务的支付形式。

##Slack API

Slack, the popular team communication service, has its own RESTful API available for developers to learn and use. Slack has powerful natural language processing functionality, meaning developers can build applications that integrate with Slack, such as intelligent chatbots or other bots that can schedule meetings.

Slack是受欢迎的团队协作工具,拥有自己的RESTful API供开发人员学习和使用。Slack具有强大的自然语言处理功能,意味着开发人员可以结合Slack开发应用程序,例如智能聊天机器人或其他安排会议的机器人。

Other useful applications can enhance Slack’s underlying functionality, for example, an application that summarizes all the links shared within a large project team and sends those links as an email, so that individual team members don’t need to trawl through lengthy conversations to find links.

其他有用的应用程序可以增强Slack的潜在功能,例如,一个汇总了大型项目的团队中,共享的所有链接的应用程序,并将这些链接作为电子邮件发送。这样单个团队成员就不需要翻阅漫长的对话来查找这些链接了。

##Amazon’s Product Advertising API

Amazon is the world’s largest online retailer, and the company’s Product advertising API allows developers to leverage its data and technology to develop custom applications for selling items.

亚马逊是全球最大的在线零售商,该公司的产品推广API使开发人员能够利用应用程序的数据和技术,开发销售商品的定制应用。

There’s a useful scratchpad for beginners that teaches the basics and allows developers to experiment with this API and test its operations without having to write any code. Another use of the API could be to get the average rating for individual products and display those ratings on your app.

对于初学者来说,它提供了一个有用的实验环境,可以教授基础知识,并允许开发人员试用并测试此API的性能,且无需编写任何代码。此API的另一个用途是获得单个产品的平均评分并在你的应用上显示。

##Twitter Stream API

Twitter, one of the web’s largest social media services, has a streaming API available that gives developers low latency access to Twitter’s global stream of Tweet data. Developers can create custom bots that automatically post tweets to their websites or to other websites.

推特是最大的网络社交媒体服务之一,它提供了一个流媒体API,为开发者提供了对推特上全球推文数据流的低延迟访问,开发人员可以创建自动发布的推文到他们的网站或其他网站。

This API is particularly useful for websites and applications that want to inform their users of news and updates as they happen. For example, the Reddit forum for Manchester United football club has its own bot that interacts with Twitter’s streaming API to automatically post team lineups exactly when they are released on Twitter.

这个API特别适用于网站和应用程序,它们希望及时通知用户新闻和更新。 例如,曼联足球俱乐部的Reddit论坛有自己的机器人,它可以与推特的流媒体API进行交互,以在球队发推时自动发布球队阵容。

##Google Contacts API

The Google Contacts API lets developers build applications which can import a user’s Google contacts. The requests to import contacts are handled by OAuth 2.0, which displays a pop-up message informing users that your application wants to access their Google contacts list. A contacts API like the Google one is useful for inviting other people to your application. The API can even be called to import contact photos.

谷歌联系人API让开发人员开发导入谷歌联系人的应用程序。导入联系人的请求由OAuth 2.0处理,后者显示一条弹出消息,通知用户你的应用程序想要访问其谷歌联系人列表。像谷歌这样的联系人API对于邀请其他人访问你的应用程序非常有用,它甚至可以调用API来导入联系人照片。

*OAuth:开放授权(OAuth)是一个开放标准,允许用户让第三方应用访问该用户在某一网站上存储的私密的资源(如照片,视频,联系人列表),而无需将用户名和密码提供给第三方应用。*

There are other types of contacts APIs used for different purposes, such as the Lusha contacts API, which retrieves business and individual profile information, including logos, location details and phone numbers, given a company’s name and email. Lusha is particularly useful for marketing and sales purposes because it provides complete profile information on leads.

还有其他类型的社交API被用于不同的目的,例如Lusha社交API,根据公司名称和电子邮件检索业务和个人资料文件信息,包括徽标、位置详细信息和电话号码等。Lusha尤其适用于市场营销和销售推广,因为它提供了关于潜在客户的完整资料信息。

##Closing Thoughts

Learning some (or all) of the above APIs is likely to prove more useful for developers than merely choosing an interface at random and hoping you can incorporate it into the applications you build. These APIs are all currently relevant and expected to increase in use over the next few years, particularly the cryptocurrency and machine learning API types.

学习一些(或全部)上述API可能对开发人员更有用,不仅仅是随意选择一个接口,并希望将其纳入到你开发的应用程序中。 这些API都是当下适用,而且预计在未来几年会用得越来越多,特别是加密货币和机器学类型的API。

(本文所有图片来源于网络,版权归原作者所有)

> 作者:Ronan Mahony

> 出处:techburst

> via:https://techburst.io/6-apis-you-should-learn-in-2018-81aca1b06465


我要推荐
转发到

友情链接