stefano/address

Slovak Post Address API

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 3

Language:HTML

Type:project


README

Latest Stable Version License

Donate on PayPal

Online DEMO

Installation

  • run composer create-project stefano/address my-project
  • create database database.sql
  • rename .end.dist to .env and fill it with your settings
  • run import bin/console import:address

API Endpoints Documentation

GET /api/address

  • fields [array] [optional]
    • [string] street, city, postcode, post_office
  • filters [array] [optional]
    • street [string] [optional]
    • city [string] [optional]
    • postcode [string] [optional]
    • post_office [string] [optional]
  • orders [array] [optional]
    • [string] street, city, postcode, post_office
  • order-direction [asc or desc] [optional] default asc
  • limit [number] [optional] default 20
  • offset [number] [optional] default 0

Response:

{
    items: [
        street, string,
        city: string,
        postcode: string,
        post_office: string
    ]
}