All Projects → encode → Apistar

encode / Apistar

Licence: bsd-3-clause
The Web API toolkit. 🛠

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to Apistar

Apai Io
DISCONTINUED Amazon Product Adverstising Library based on PHP REST and SOAP (only V1) using the Product Advertising API.
Stars: ✭ 647 (-88.46%)
Mutual labels:  api, rest
Postgrest Starter Kit
Starter Kit and tooling for authoring REST API backends with PostgREST
Stars: ✭ 657 (-88.28%)
Mutual labels:  api, rest
Networking
⚡️ Elegantly connect to a REST JSON Api. URLSession + Combine + Decodable + Generics = <3
Stars: ✭ 499 (-91.1%)
Mutual labels:  api, rest
Gearbox
Gearbox ⚙️ is a web framework written in Go with a focus on high performance
Stars: ✭ 455 (-91.88%)
Mutual labels:  api, rest
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (-90.03%)
Mutual labels:  api, rest
Zerocode
A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.
Stars: ✭ 482 (-91.4%)
Mutual labels:  api, rest
Bridge Deprecated
[DEPRECATED]: Prefer Retrofit/OkHttp by Square, or Fuel for Kotlin
Stars: ✭ 624 (-88.87%)
Mutual labels:  api, rest
Purest
REST API Client Library
Stars: ✭ 448 (-92.01%)
Mutual labels:  api, rest
Scantron
A distributed nmap / masscan scanning framework complete with an API client for automation workflows
Stars: ✭ 542 (-90.33%)
Mutual labels:  api, rest
Jikan
Unofficial MyAnimeList PHP+REST API which provides functions other than the official API
Stars: ✭ 531 (-90.53%)
Mutual labels:  api, rest
Typescript Rest
This is a lightweight annotation-based expressjs extension for typescript.
Stars: ✭ 458 (-91.83%)
Mutual labels:  api, rest
Spyke
Interact with REST services in an ActiveRecord-like manner
Stars: ✭ 591 (-89.46%)
Mutual labels:  api, rest
Django Rest Framework
Web APIs for Django. 🎸
Stars: ✭ 22,406 (+299.75%)
Mutual labels:  api, rest
Snickers
🍫 An open source alternative to the video cloud encoding services.
Stars: ✭ 498 (-91.12%)
Mutual labels:  api, rest
Goa
Design-based APIs and microservices in Go
Stars: ✭ 4,493 (-19.84%)
Mutual labels:  api, rest
Redux Api
Flux REST API for redux infrastructure
Stars: ✭ 502 (-91.04%)
Mutual labels:  api, rest
Crudl
CRUDL is a backend agnostic REST and GraphQL based admin interface
Stars: ✭ 438 (-92.19%)
Mutual labels:  api, rest
Jsonplaceholder
A simple online fake REST API server
Stars: ✭ 4,377 (-21.91%)
Mutual labels:  api, rest
Beautifulrestapi
Beautiful REST API design with ASP.NET Core and Ion
Stars: ✭ 512 (-90.87%)
Mutual labels:  api, rest
Atlassian Python Api
Atlassian Python REST API wrapper
Stars: ✭ 564 (-89.94%)
Mutual labels:  api, rest

API Star

🛠 The Web API toolkit. 🛠

Build Status codecov Package version


Community: https://discuss.apistar.org 🤔 💭 🤓 💬 😎

Documentation: https://docs.apistar.com 📘

Requirements: Python 3.6+


API Star is a toolkit for working with OpenAPI or Swagger schemas. It allows you to:

  • Build API documentation, with a selection of available themes.
  • Validate API schema documents, and provide contextual errors.
  • Make API requests using the dynamic client library.

You can use it to build static documentation, integrate it within a Web framework, or use it as the client library for interacting with other APIs.

Quickstart

Install API Star:

$ pip3 install apistar

Let's take a look at some of the functionality the toolkit provides...

We'll start by creating an OpenAPI schema, schema.yaml:

openapi: 3.0.0
info:
  title: Widget API
  version: '1.0'
  description: An example API for widgets
servers:
  - url: https://www.example.org/
paths:
  /widgets:
    get:
      summary: List all the widgets.
      operationId: listWidgets
      parameters:
      - in: query
        name: search
        description: Filter widgets by this search term.
        schema:
          type: string

Let's also create a configuration file apistar.yml:

schema:
  path: schema.yaml
  format: openapi

We're now ready to start using the apistar command line tool.

We can validate our OpenAPI schema:

$ apistar validate
✓ Valid OpenAPI schema.

Or build developer documentation for our API:

$ apistar docs --serve
✓ Documentation available at "http://127.0.0.1:8000/" (Ctrl+C to quit)

We can also make API requests to the server referenced in the schema:

$ apistar request listWidgets search=cogwheel

Where did the server go?

With version 0.6 onwards the API Star project is being focused as a framework-agnostic suite of API tooling. The plan is to build out this functionality in a way that makes it appropriate for use either as a stand-alone tool, or together with a large range of frameworks.

The 0.5 branch remains available on GitHub, and can be installed from PyPI with pip install apistar==0.5.41. Any further development of the API Star server would likely need to be against a fork of that, under a new maintainer.

If you're looking for a high-performance Python-based async framework, then I would instead recommend Starlette.


API Star is BSD licensed code.
Designed & built in Brighton, England.

API Star

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].