Skip to content

astrepid/okapi-tracking-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Okapi Tracking API

Maven Central

A simple and resilient wrapper library for the new state-owned French logistical carrier parcels and mail tracking API (LaPoste/Okapi — v2).

Click here to learn more about the official API.

Requirements

Use case

To track a parcel or a mail, you need to call the getTracking method with the parcel's tracking number as a parameter:

import com.astrepid.okapi.IOkapiService;
import com.astrepid.okapi.OkapiServiceImpl;
import com.astrepid.okapi.tracking.OkapiTracking;

class Main {
    IOkapiService service = new OkapiServiceImpl("YOUR_API_KEY");

    OkapiTracking tracking = service.getTracking("TRACKING_NUMBER");
}

To execute the tests, you need a valid sandbox API key. You can get one by registering here.

Authors

About

Java wrapper for Okapi/LaPoste tracking API v2

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages