Skip to content

Instantly share code, notes, and snippets.

@shinrikiken
Last active June 21, 2018 08:33
Show Gist options
  • Save shinrikiken/d5b9d5d3b5e79b79c10e60023eb74efe to your computer and use it in GitHub Desktop.
Save shinrikiken/d5b9d5d3b5e79b79c10e60023eb74efe to your computer and use it in GitHub Desktop.
Calling Shop API to with `SOKEN` name as a parameter, and example of response data
Get Data from URL : https://soken-dev.c0d1um.io/api/shops/?name=SOKEN
Response data :
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 12,
"dealer": {
"id": 3,
"name": "アヴァロン",
"tax_rate": "6.00",
"logo": null,
"is_production": true,
"default_region": "Tokyo"
},
"name": "SOKEN",
"email": "soken@soken.co.jp",
"phone_number": "926-549-4422",
"fax_number": "963-589-4020",
"address": "1 Charing Cross Hill",
"site_name": null,
"prefecture": "石",
"town": "田",
"city": "雅静",
"building": "俞凯",
"postal_code": "779-417-0686"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment