• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Kikobeats/awesome-api: A curated list of awesome resources for design and implem ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Kikobeats/awesome-api

开源软件地址:

https://github.com/Kikobeats/awesome-api

开源编程语言:


开源软件介绍:

Awesome API Awesome Build Status

A curated list of awesome resources for design and implement RESTful APIs.

Design

Overview

REST allows us to create services and applications that can be used by any device or client who understands HTTP.

Status Code

When you are using a REST design you have to provide the HTTP status code that are the more appropriated to respond to the request.

Authentication

JWT

JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties.

Authorization

OAuth

An open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications

Caching

Security

Format

  • HAL – Simple format that gives a consistent and easy way to hyperlink between resources in your API (see: HATEOAS).
  • Hydra – Vocabulary for Hypermedia-Driven Web APIs (W3C).
  • JSend – Simple specification that lays down some rules for how JSON responses from web servers should be formatted.
  • JSON API – Standard for building APIs in JSON.
  • JSON-LD – Standard for describing Linked Data and hypermedia relations in JSON (W3C).
  • OData – Open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs. Quite complex.
  • RAML – Simple and succinct way to describe RESTful API.
  • Schema.org – Collection of schemas describing common data models.

Discover

Need a API for your projects?

Curated list

Directory

Testing

Querying

  • Firecamp – Protocol agnostic API testing client which help you test and manage RestAPIs, GraphQL, Websocket and many more.
  • httpie – Command line HTTP client, far more dev-friendly than curl.
  • HttpMaster – GUI tool for testing REST APIs and services. Windows OS only.
  • jq – Command line JSON processor, to use in combination with a command-line HTTP client like cURL.
  • Insomina – A Fancy HTTP REST Client.
  • resty – Little command line REST client that you can use in pipelines (bash or zsh).
  • TestMace – A modern powerful crossplatform tool for working with API and creating automated API tests.

Mocking

  • Beeceptor - Beeceptor helps intercepting API calls and mocking them selectively. Creates an endpoint for wrapping original API and routes requests.
  • FakeRest – Patch XMLHttpRequest to fake a REST API client-side.
  • JSON Placeholder – Free online REST service that you can use whenever you need some fake data.
  • json-server – Get a full fake REST API with zero coding in less than 30 seconds.
  • Mocky.io – Free online service to create fake HTTP responses.
  • FakeQL – Mainly focused on GraphQL, but can mock RESTful APIs, as well.
  • PIPL API – Free and public API that generates random and fake people's data in JSON
  • API Mocha - Free online service providing fake REST API endpoints, create customizable responses and download rules as a Postman collection.

Response

  • httpstat.us – A super simple service for generating different HTTP codes.
  • httpbin – httpbin(1): HTTP Request & Response Service.
  • badssl – Testing clients against bad SSL configs.

Documentation

One of the most important part of your API is have a good documentation and updated with the code.

Free

Services

Logging

Modeling and SaaS

Based in DDD (Domain Driven Development). Generates automatically API's in different languages.

Libraries

Used it to improve your workflow

  • hello.js – A client-side Javascript SDK for authenticating with OAuth2.
  • nock – HTTP Server mocking for Node.js
  • node-ratelimiter – Rate limiter for Node.js backed by Redis.
  • node-uuid – Simple and fast generation of UUIDS.
  • Supertest – Super-agent driven library for testing HTTP servers.

Frameworks

Designed specifically for building RESTful API's Quickly.

Gateways

Manage API infrastructure concerns such as authentication/authorization, rate limiting, scaling, analytics, etc.

Open Source / Self-hosted




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap