https://github.com/fluse/weltklassejungs-api
https://github.com/fluse/weltklassejungs-api
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fluse/weltklassejungs-api
- Owner: fluse
- Created: 2016-04-07T12:05:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-11T06:55:35.000Z (about 10 years ago)
- Last Synced: 2025-09-18T09:07:34.872Z (9 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
#Weltklassejungs API
##Location
###request
```javascript
{
URL: 'api.weltklassejungs.de/v1/location/',
headers: {
Authorization: 'Basic {token}'
},
query: {
search: String
}
Method: 'GET'
}
```
###response
```javascript
{
error: null,
result: [{
city: String
country: String
countryCode: String,
latitude: Number,
longitude: Number,
state: String,
zip: String
}, {location}, {location}]
}
```
##Search
###request
```javascript
{
URL: 'api.weltklassejungs.de/v1/search/',
headers: {
Authorization: 'Basic {token}'
},
Method: 'POST',
body: {
location: String,
date: Date,
time: {
from: Date,
to: Date
},
eventType: String,
technic: String,
age: Number,
misc: String
}
}
```
###response
**error**
```javascript
{
error: {
location: 'isEmpty',
date: 'isInvalid',
time: 'isInvalid',
eventType: 'isEmpty'
},
result: null
}
```
**success**