I have no idea how to access use of the API now.
What do I do/need to add??
Previously I had something like this —
<script type=“application/javascript”>
$(document).ready(function() {
$.getJSON("http://www.telize.com/geoip?callback=?",
function(json) {
if (json.country_code === ‘CA’) {
window.location.href = ‘http://www.opedusa.com/internationaldistributors/’;
}
else if (json.country_code === ‘DE’) {
window.location.href = ‘http://www.opedusa.com/internationaldistributors/’;
}
Únase a la conversación, añada un comentario a continuación:
Perfect, thanks!!
Hello,
If you were using Telize public API, you will just need to replace http://www.telize.com by https://telize-v1.p.mashape.com and append your token as an URL parameter.
For example, http://www.telize.com/geoip should be replaced by : https://telize-v1.p.mashape.com/geoip?mashape-key=YourMashapeSecretkey
More information about authentication methods can be found here : http://docs.mashape.com/auth-settings
Regards.