dotnet API Client for the Gearbest Associate Program api
Install AndGearbest through NuGet:
PM> Install-Package AndGearbest
Note: Check dev branch for next features or improves
First of all, in order to use the api you need to be a member of the Gearbest Affiliate program and susbcribed to the API in order to get an ApiKey and ApiSecret.
Create an instance of GearbestApi (implements IGearbestApi interface)
var api = AndGearbestApi.GetGearbestApi(<API_KEY>, <API_SECRET>, <LKID(optional)>);
To get a coupons:
var coupons = await api.GetCouponsAsync();
Note: if any lkid as send, it uses a default lkid.
Any pull request or suggestion is welcome.
This wrapper uses Newtonsoft.Json.
Andgearbest isn't an official version or isn't build with relation to Gearbest registered trademarks. This is an indepent project. This project uses the information and documention provided by Gearbest Associate/Affiliate Program.
To Ben Fradet