The "home" argument in the EVA API request is a great way specify where the end user is located when making the request.
Previously you were required to provide Geoname ID for the home location (based on http://www.geonames.org/) - for example to specify that the home is Rome you would need to send: "home=3169070" (http://www.geonames.org/3169070/rome.html).
From now on, you can either send the Geoname ID or the name of the home location - so for the previous example, you could just send: "home=rome".
Additional ways to specify user location are the longitude/latitude arguments and the ip_addr (IP address) argument.
For more information about this feature please refer to the Evature Documentation.
No comments:
Post a Comment