Last active
June 15, 2017 14:19
-
-
Save Tadas44/029ceb191ab2f4e4644042e76b32fa9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Locations API call | |
{ | |
locations: [ | |
{ | |
"id": 12, | |
"name": "Camorino" | |
}, | |
{ | |
"id": 11, | |
"name": "Cazis" | |
} | |
] | |
} | |
//Pathogens API call (params:[token="asdasdasvx",locationId=1,lang:en]) we use short language codes (eg. en not en_US) https://web.archive.org/web/20121102100111/http://colincooper.net:80/blog/2011/02/17/android-supported-language-and-locales/ | |
{ | |
"pathogens": [{ | |
"id": 1, | |
"name": "African Mole Cricket", | |
"description": "Gryllotalpa africana", | |
"imageUrl": "http://image.png", | |
"iconLabel": "Insect", | |
"iconImageUrl": "http://insect.png", | |
"riskName": "Lotta necessaria", | |
"riskLevel": 4 | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment