Alternatives To Yakports
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Json Server67,0747,1197897 days ago124October 06, 2021661mitJavaScript
Get a full fake REST API with zero coding in less than 30 seconds (seriously)
Utils1,7204,2251,35720 days ago65November 24, 202117otherPHP
🛠 Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
Laravel Json Api7561544 months ago74June 25, 202225apache-2.0PHP
JSON API (jsonapi.org) package for Laravel applications.
Laravel Json Api Paginate50319212 months ago20January 11, 2022mitPHP
A paginator that plays nice with the JSON API spec
Mymovies303
3 years agomitDart
A Flutter app which shows a list of popular movies.
Jsonapi.rb211415 months ago27February 17, 202114mitRuby
Lightweight, simple and maintained JSON:API support for your next Ruby HTTP API.
Json_table18521a year ago14March 06, 202119mitDart
Flutter package: Json Table Widget to create table from json array
Rss To Json13976174 months ago18July 16, 202223mitTypeScript
RSS and Atom feed generator for Node.js
Kql125
2 months ago1February 12, 20214mitPHP
Kirby's Query Language API combines the flexibility of Kirby's data structures, the power of GraphQL and the simplicity of REST.
Symfony Jsonapi115414 years ago20July 31, 201713mitPHP
JSON API Transformer Bundle for Symfony 2 and Symfony 3
Alternatives To Yakports
Select To Compare


Alternative Project Comparisons
Readme

Yakports

A demonstration of how to use Yaks to build a hypermedia API. It also contains some helpful snippets that might make it into Yaks proper, such as how to set up integration with Grape, or how to handle pagination in a CollectionMapper.

You can browse the API using the HAL browser

or try it on the command line with curl.

Some example URLs

http://yaks-airports.herokuapp.com/countries/DE
http://yaks-airports.herokuapp.com/airports/TXL
http://yaks-airports.herokuapp.com/countries/DE/airports
http://yaks-airports.herokuapp.com/countries/DE/airlines

Use the Accept header to request different formats.

The data is taken from OpenFlights

HAL

$ curl -H 'Accept: application/hal+json' http://yaks-airports.herokuapp.com/countries/DE
{
  "id": "DE",
  "name": "Germany",
  "iso3166_1_alpha_2": "DE",
  "dst_type": "E",
  "_links": {
    "airports": {
      "href": "/countries/DE/airports"
    },
    "airlines": {
      "href": "/countries/DE/airlines"
    }
  }

Collection+JSON

$ curl -H 'Accept: application/vnd.collection+json' http://yaks-airports.herokuapp.com/countries/DE

{
  "collection": {
    "version": "1.0",
    "items": [
      {
        "data": [
          {
            "name": "id",
            "value": "DE"
          },
          {
            "name": "name",
            "value": "Germany"
          },
          {
            "name": "iso3166_1_alpha_2",
            "value": "DE"
          },
          {
            "name": "dst_type",
            "value": "E"
          }
        ],
        "links": [
          {
            "rel": "airports",
            "href": "/countries/DE/airports"
          },
          {
            "rel": "airlines",
            "href": "/countries/DE/airlines"
          }
        ]
      }
    ]
  }
}

JSON-API

$ curl -H 'Accept: application/vnd.api+json' http://yaks-airports.herokuapp.com/countries/DE
{
  "countries": [
    {
      "id": "DE",
      "name": "Germany",
      "iso3166_1_alpha_2": "DE",
      "dst_type": "E"
    }
  ],
  "linked": {
  }
}
Popular Json Projects
Popular Pagination Projects
Popular Data Formats Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Json
Pagination
Grape