Telize

有料
よって Frederic Cambus | 更新済み 22 days ago | Location
人気

9.8 / 10

レイテンシー

83ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

Integrate/Authenticate

Rapid account: Opedmedical
opedmedical
8 years ago

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/’;
}

Rapid account: Opedmedical
opedmedical Commented 8 years ago

Perfect, thanks!!

Rapid account: Fcambus
fcambus Commented 8 years ago

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿