适用于新软件工程师的6种有趣的API

One of the first things I learned as a new developer is how to make an API call. We used an easy, straight to the point API called Dog API. It gave information on different breeds of dogs that we, in turn, created a useable dog breed application that allowed us to search dog breeds. Finding the right API for a project can be difficult with all the random API sites available to users. I am here to make your search a little bit easier with 6 API’s that are EASY TO USE and FUN for your next project.

作为一名新开发人员,我学到的第一件事是如何进行API调用。 我们使用了一个简单,直接的API,称为Dog API 。 它提供了有关不同犬种的信息,我们进而创建了一个可用的犬种应用程序,使我们可以搜索犬种。 对于用户可用的所有随机API站点,很难找到适合项目的API。 我在这里使用6个易于使用的API,让您的下一个项目更轻松地进行搜索。

First…

第一…

What is an API/strong>

什么是API/strong>

API stands for ‘Application Programming Interface,’ in Layman’s terms, it’s something that allows the communication between applications by defining the types of calls, data, and interactions that can be made based on the information that is shared in that specific API.

API代表Layman所说的“应用程序编程接口”,它通过定义可以基于特定API共享的信息进行的调用,数据和交互的类型来允许应用程序之间的通信。

What is an API Endpoint/strong>

什么是API端点/strong>

API’s are made up of endpoints. Endpoints are URLs that call upon a specific set of data and the type of information that is needed to access the data for your application.

API由端点组成。 端点是URL,它们调用一组特定的数据以及访问应用程序数据所需的信息类型。

What is an API Key/strong>

什么是API密钥/strong>

The API key is a unique code that is used to authenticate requests associated with your project, and if necessary, the API code is used for billing purposes. When using an API, you will need to register for an API key to gain access to resources available. Once you have the key, you can test your API endpoint using a tool like Postman.

API密钥是用于验证与您的项目关联的请求的唯一代码,并且,如有必要,API代码用于计费。 使用API时,您需要注册API密钥才能访问可用资源。 获得密钥后,您可以使用Postman之类的工具测试API端点。

Now let’s share some fun APIs!

现在,让我们分享一些有趣的API!

星球大战API:SWAPI API (The Star Wars API: SWAPI API)

The Star Wars API is one of the most straightforward API’s to use when you are just starting your developer journey. The API gives you access to Star Wars character’s details, images, starships, and other great information. I used the SWAPI API for one of my projects at General Assembly during my cohort. For my project, I decided to make a dorky BUT fun application called Greedos Bounty Board. The app showed characters from the movie, their information, and I even used a random number algorithm to generate a bounty for each character.

当您刚刚开始开发者之旅时,《星球大战》 API是最直接的API之一。 该API使您可以访问《星球大战》角色的详细信息,图像,星际飞船和其他重要信息。 在我的同类研究期间,我在大会的一个项目中使用了SWAPI API。 对于我的项目,我决定制作一个名为Greedos Bounty Board的笨拙但有趣的应用程序。 该应用程序显示了电影中的角色及其信息,我什至使用随机数算法为每个角色生成赏金。

If you would like to take a look at the code, you can here! (all feedback is welcome!)

如果您想看一下代码,可以在这里 ! (欢迎所有反馈!)

You can access the API here: The STAR WARS API.

您可以在此处访问API: STAR WARS API 。

Wubba Lubba Dub Dub — Rick and Morty API (Wubba Lubba Dub Dub — The Rick and Morty API)

The out of this world API is a new developers dream with easy to use endpoints along with access to every Rick and Morty character in the series! This API gives you loads of information on your favorite characters, including species, current known position, images, and life status. Let your imagination run wild as you take this API and transform it into a project that you, your friends, and possibly your next employer can talk about and enjoy.

超越世界的API是一个新的开发人员梦想,它具有易于使用的端点以及对系列中每个Rick and Morty角色的访问权! 该API可为您提供有关您喜欢的角色的大量信息,包括物种,当前已知位置,图像和生活状态。 当您使用此API并将其转换为您,您的朋友以及下一个雇主可能谈论并喜欢的项目时,请让您的想象力疯狂。

You can access the Rick and Morty API here: RICK and MORTY API.

您可以在此处访问Rick and Morty API: RICK and MORTY API 。

这只是在! 新闻API:NewsApi.org (This Just In! A News API: NewsApi.org)

The newsapi.org API is excellent if you need to practice making API calls, want to practice your javascript, and create search bars and dropdowns with full functionality. The API is easy to use with LOTS of endpoints to select from reputable sources across the globe! The issue with newsapi.org is to use its free version for developers; you cannot deploy to the web. If you do this, you will run into a 426 error. Basically, the API changed the rules for how users can use the free model, and inorder the change this; you would need to upgrade your API key, which is roughly $450. Once you bring down the website, the API will continue to work. Other than the small annoyance, you can make some killer practice sites using this API.

I used this API for my first project at General Assembly. I create a news site called Now Read This with dropdown and search functionality that listed sites determined on what you selected and typed in. If you are curious to check it out, you can clone down the code here and check it out!

我在大会的第一个项目中使用了此API。 我创建了一个新闻 站, 该 站具有下拉菜单和搜索功能,其中列出了根据您选择和键入的内容而确定的 站。如果您希望将其签出,可以在此处克隆代码并签出!

You can access the newsapi here: Newsapi.org.

您可以在此处访问newsapi: Newsapi.org 。

电影爱好者API:OMDb (A Movie Buffs API: OMDb)

Lights Camera Action! The movie buffs dream. The OMDb API gives you clear and easy to read documentation(very beginner-friendly) and offers everything you need to create a movie lovers application! 10/10 would use again.

点亮相机动作! 电影使梦想成真。 OMDb API为您提供清晰易读的文档(非常适合初学者),并提供了创建电影爱好者应用程序所需的一切! 10/10将再次使用。

You can access the OMDb API here: MOVIE API.

您可以在此处访问OMDb API: MOVIE API 。

喜欢动漫吗试用Ghilibi API (Like AnimeTry the Ghilibi API)

“We each need to find our own inspiration. Sometimes it’s not easy”-Kiki’s Delivery Service

“我们每个人都需要找到自己的灵感。 有时候这并不容易”-琪琪的送货服务

The Ghilibi API is an easy to use API that offers everything you need to show your imagination and create an application as creative as Hayao Miyazaki. The API shares information on each of the movies, including directors, images, release dates, rotten tomato scores, and descriptions of each film. With lots of data available, you have everything you need to find the inspiration you are looking for.

Ghilibi API是一种易于使用的API,可提供展现想象力和创建宫崎骏这样具有创造力的应用程序所需的一切。 API共享每部电影的信息,包括导演,图像,发行日期,烂番茄得分和每部电影的描述。 拥有大量可用数据,您将拥有寻找所需灵感的一切。

Access the Ghilibi API here: Studio Ghilibi.

在此处访问Ghilibi API: Studio Ghilibi 。

爸爸笑话发生器怎么样(How About a Dad Joke Generatorspan style=”font-weight: bold;”>)

“I made a pencil with two erasers. It was pointless.”-Anonymous Dad

“我用两支橡皮擦了一支铅笔。 这是没有意义的。” -匿名爸爸

If you enjoy a bad joke as much as I do, this API is right up your alley. With easy to read documentation and a database full of top-notch father approved jokes, the Dad Joke API has everything you need to disappoint your friends and impress your father.

如果您像我一样喜欢开玩笑的话,那么此API就是您的最佳选择。 凭借易于阅读的文档和充满顶级父亲认可的笑话的数据库,爸爸笑话API提供了令您的朋友失望并打动您父亲的一切。

Start your Dad Joke Generator now!

立即启动您的爸爸笑话发生器!

Access the Dad Joke API here: “I’m reading a book about anti-gravity. It’s impossible to put down!”

在此处访问Dad Joke API: “我正在读一本有关反重力的书。 放下是不可能的!”

The API’s above are a great start to building a diverse portfolio of applications that show personality and allow you some creative freedom. What is your favorite APIHave a cool project you want to sharePlease share them below!

上面的API是构建显示个性并允许您有一些创作自由的各种应用程序组合的一个良好的开端。 您最喜欢的API是什么/strong> 您想分享一个很棒的项目吗/strong> 请在下面分享!

Let’s connect on Twitter; You can find out more about me and my journey in Software Engineering here!

让我们在Twitter上连接 ; 您可以在这里找到关于我和我在软件工程方面的更多信息 !

Let’s continue the conversation on LinkedIn! If you have any questions, feedback, or interested in networking, shoot me a message here!

让我们继续在LinkedIn上进行对话 ! 如果您有任何疑问,反馈或对 络感兴趣,请在此处向我发送消息!

翻译自: https://medium.com/@colinmalcolm/6-fun-apis-for-a-new-software-engineer-c55e9dc4e30e

文章知识点与官方知识档案匹配,可进一步学习相关知识Python入门技能树首页概览208856 人正在系统学习中 相关资源:若为自由故:自由软件之父理查德·斯托曼传-讲义文档类资源-CSDN文库

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2020年8月25日
下一篇 2020年8月26日

相关推荐