API Documentation
Intro
Calls
getDealsByZip
API Call - getDealsByZip
Description
This call gets information about deals while filtering on zip code and current/past deals
Parameters
| Param | Required? | Description |
| pid | yes | your chompon publisher-id |
| auth | yes | your chompon authentication-key |
| zip | yes | the zip code that you want to pull deals from |
| past | yes | "true" or "false" - whether to only return past deals, otherwise only current deals are shown |
| type | no | either JSON or XML. default is XML |
Examples
Get information about a particular deal:
https://www.chompon.com/api.php?pid=12&auth=26a4171b3c38b868&method=getDealsByZip&zip=94303&past=false&type=xml


