Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 02:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



API: www.1tracking.net

Discussion on API: www.1tracking.net within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1

 
Gamer Dragon's Avatar
 
elite*gold: 46
Join Date: Jun 2016
Posts: 332
Received Thanks: 26
API: www.1tracking.net

Hey,

für ein Projekt an dem ich im Moment arbeite brauche ich die API von . Mit dieser API ist es mir erlaubt Pakete zu verfolgen. Ich konnte bisher noch keine erfolgreiche Abfrage machen. Funktioniert bei euch die API? Mach ich dann etwas falsch?
Hier die API-Docs:
Hier eine Sendungsnummer die ihr zum Testen nutzen könnt: 35244172210188

MfG
Gamer Dragon
Gamer Dragon is offline  
Old 11/28/2018, 17:42   #2


 
False's Avatar
 
elite*gold: 0
The Black Market: 243/0/0
Join Date: Apr 2011
Posts: 11,118
Received Thanks: 2,435
Quote:
Originally Posted by Gamer Dragon View Post
Hey,

für ein Projekt an dem ich im Moment arbeite brauche ich die API von . Mit dieser API ist es mir erlaubt Pakete zu verfolgen. Ich konnte bisher noch keine erfolgreiche Abfrage machen. Funktioniert bei euch die API? Mach ich dann etwas falsch?
Hier die API-Docs:
Hier eine Sendungsnummer die ihr zum Testen nutzen könnt: 35244172210188

MfG
Gamer Dragon
Deren Api Dokumentation ist ein witz...
Mit der Dokumentation habe ich es auch nicht zum laufen bekommen, da man auf der Startseite aber auch ein Paket abfragen kann habe ich einfach mal geschaut was dort gemacht wird und das kurz nachgebaut.



Response vom API-Call sieht wie folgt aus :

Code:
{
   "data":[
      {
         "result":40,
         "track":"35244172210188",
         "code":"DEEXPHEU",
         "fromKey":"www.myhermes.de",
         "toKey":"",
         "fromCode":"Germany",
         "toCode":"DE",
         "wms":[
            {
               "ondate":"2018-09-02 00:40:04",
               "status":"Order Created.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 02:06:12",
               "status":"Confirmed & Prepared For Packing.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 02:06:14",
               "status":"Shipping Label Printed.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 04:04:55",
               "status":"Departure in Location Warehouse Sorting Centre.",
               "address":"ShenZhen"
            }
         ],
         "frist":[
            {
               "ondate":"2018-09-03 18:00:33",
               "status":"Sent to HongKong Sorting Centre.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-04 06:00:25",
               "status":"Arrived at Hongkong Sorting Centre.",
               "address":"Hongkong"
            },
            {
               "ondate":"2018-09-05 02:00:23",
               "status":"Departed Hongkong Sorting Centre.",
               "address":"Hongkong"
            },
            {
               "ondate":"2018-09-06 03:00:27",
               "status":"Parcel arrived at the airport.",
               "address":""
            },
            {
               "ondate":"2018-09-06 09:00:00",
               "status":"Parcel is in clearance.",
               "address":""
            },
            {
               "ondate":"2018-09-06 15:00:00",
               "status":"Customs clearance processing complete.",
               "address":""
            },
            {
               "ondate":"2018-09-06 16:00:00",
               "status":"Shipment in transit-delivered to destination country.",
               "address":""
            }
         ],
         "from":[
            {
               "ondate":"2018-09-01 18:49:31",
               "status":"The parcel has been announced electronically to Hermes.  ",
               "address":""
            },
            {
               "ondate":"2018-09-07 20:51:54",
               "status":"The parcel has been sorted at a Hermes Logistic Hub.  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 04:17:42",
               "status":"The parcel has been sorted at a Hermes Logistic Hub.  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 04:17:42",
               "status":"The parcel has been received at the Hermes depot LC Berlin.",
               "address":""
            },
            {
               "ondate":"2018-09-10 09:55:16",
               "status":"The Parcel is out for delivery today  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 12:05:41",
               "status":"The parcel has been delivered.   ",
               "address":""
            }
         ],
         "to":[

         ],
         "latest":{
            "ondate":"2018-09-10 12:05:41",
            "status":"The parcel has been delivered.   "
         },
         "expect":{
            "ondate":"2018-09-02 04:04:55",
            "expectDate":"",
            "expectDays":0
         },
         "origin":"02",
         "uuid":"0.1288423471849872-1543422605000"
      }
   ],
   "packTracks":[

   ],
   "errKey":[

   ],
   "errTracks":[

   ],
   "isAd":true,
   "status":{
      "code":0,
      "msg":"Success!"
   }
}
False is offline  
Old 11/28/2018, 18:02   #3

 
Gamer Dragon's Avatar
 
elite*gold: 46
Join Date: Jun 2016
Posts: 332
Received Thanks: 26
Quote:
Originally Posted by .ƒaℓsє. View Post
Deren Api Dokumentation ist ein witz...
Mit der Dokumentation habe ich es auch nicht zum laufen bekommen, da man auf der Startseite aber auch ein Paket abfragen kann habe ich einfach mal geschaut was dort gemacht wird und das kurz nachgebaut.



Response vom API-Call sieht wie folgt aus :

Code:
{
   "data":[
      {
         "result":40,
         "track":"35244172210188",
         "code":"DEEXPHEU",
         "fromKey":"www.myhermes.de",
         "toKey":"",
         "fromCode":"Germany",
         "toCode":"DE",
         "wms":[
            {
               "ondate":"2018-09-02 00:40:04",
               "status":"Order Created.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 02:06:12",
               "status":"Confirmed & Prepared For Packing.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 02:06:14",
               "status":"Shipping Label Printed.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-02 04:04:55",
               "status":"Departure in Location Warehouse Sorting Centre.",
               "address":"ShenZhen"
            }
         ],
         "frist":[
            {
               "ondate":"2018-09-03 18:00:33",
               "status":"Sent to HongKong Sorting Centre.",
               "address":"ShenZhen"
            },
            {
               "ondate":"2018-09-04 06:00:25",
               "status":"Arrived at Hongkong Sorting Centre.",
               "address":"Hongkong"
            },
            {
               "ondate":"2018-09-05 02:00:23",
               "status":"Departed Hongkong Sorting Centre.",
               "address":"Hongkong"
            },
            {
               "ondate":"2018-09-06 03:00:27",
               "status":"Parcel arrived at the airport.",
               "address":""
            },
            {
               "ondate":"2018-09-06 09:00:00",
               "status":"Parcel is in clearance.",
               "address":""
            },
            {
               "ondate":"2018-09-06 15:00:00",
               "status":"Customs clearance processing complete.",
               "address":""
            },
            {
               "ondate":"2018-09-06 16:00:00",
               "status":"Shipment in transit-delivered to destination country.",
               "address":""
            }
         ],
         "from":[
            {
               "ondate":"2018-09-01 18:49:31",
               "status":"The parcel has been announced electronically to Hermes.  ",
               "address":""
            },
            {
               "ondate":"2018-09-07 20:51:54",
               "status":"The parcel has been sorted at a Hermes Logistic Hub.  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 04:17:42",
               "status":"The parcel has been sorted at a Hermes Logistic Hub.  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 04:17:42",
               "status":"The parcel has been received at the Hermes depot LC Berlin.",
               "address":""
            },
            {
               "ondate":"2018-09-10 09:55:16",
               "status":"The Parcel is out for delivery today  ",
               "address":""
            },
            {
               "ondate":"2018-09-10 12:05:41",
               "status":"The parcel has been delivered.   ",
               "address":""
            }
         ],
         "to":[

         ],
         "latest":{
            "ondate":"2018-09-10 12:05:41",
            "status":"The parcel has been delivered.   "
         },
         "expect":{
            "ondate":"2018-09-02 04:04:55",
            "expectDate":"",
            "expectDays":0
         },
         "origin":"02",
         "uuid":"0.1288423471849872-1543422605000"
      }
   ],
   "packTracks":[

   ],
   "errKey":[

   ],
   "errTracks":[

   ],
   "isAd":true,
   "status":{
      "code":0,
      "msg":"Success!"
   }
}
Vielen Dank! Du hast mir sehr geholfen!
Gamer Dragon is offline  
Reply


Similar Threads Similar Threads
API Error Code: 100 API Error Description: Invalid parameter Error Message: redirect_
04/08/2012 - elite*gold Trading - 2 Replies
API Error Code: 100 API Error Description: Invalid parameter Error Message: redirect_uri URL is not properly formatted Das bekomme ich wenn ich ne App installiere... ich habe schon 3 Apps richtig installiert, danach kam immer das bei anderen Apps die ich installiert habe.. was heisst das? redirect_uri URL is not properly formatted
setup Net microsoft net Framework sp 3.5 sp1 log all setup Net microsoft net Framewo
11/17/2011 - Rappelz - 0 Replies
setup Net microsoft net Framework sp 3.5 sp1 log all setup Net microsoft net Framework sp 3.5 sp1 log all some proplem this ): here ........ http://www.elitepvpers.com/forum/rappelz/1542117- help-decrypt-client-3.html#post13918381 help @@ PLZ ):
[GUIDE]Api Sheild to be against API Tools!
10/15/2011 - Metin2 PServer Guides & Strategies - 8 Replies
I got lot's of pm's from people asking me about api tool shield , so i decided to make a guide to show ya all how to get rid of the nowadays hackers in your servers ... First ... Open CONFIG of each channel , set pk_server:0 to pk_server:1 then in set adminpage_ip1 with adminpage_ip1: 192.168.2.(write yur real ip here) without quotes or space , just write it after the 192.168.2 directly like this .. example : adminpage_ip1: 192.168.2.ip And keep doing that for all CONFIG of all...
[ ALL IN ONE ] Lizenserver 7120 | API Server | API Tools
07/07/2011 - Metin2 PServer Guides & Strategies - 45 Replies
Hallo @all ServerAdmins! Hier möchte ich euch ein Projekt von mir vorstellen der vieles einfacher macht. Was ist das? Ein Arbeitsplatz für Administratoren von Mt2 Server. Was kann es? behebt das Problem socket_connect: HOST 220.95.239.40:7120, could not connect.
[HELP] Api tool v2 and other api's
05/28/2011 - Metin2 Private Server - 0 Replies
Hi, can someone tell me where i can find the api tool v2 fix? and if there are other types of API tools Thank you very much



All times are GMT +2. The time now is 02:05.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.