Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Latest commit

 

History

History
56 lines (35 loc) · 1.59 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.59 KB

AndGearbest

Sublime's custom image

Build Status NuGet version

dotnet API Client for the Gearbest Associate Program api

Installation

Install AndGearbest through NuGet:

PM> Install-Package AndGearbest

Usage

Note: Check dev branch for next features or improves

Main API

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.

Contribution

Any pull request or suggestion is welcome.

Libraries used

This wrapper uses Newtonsoft.Json.

License

MIT license.

Disclaimer

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.

Thanks

To Ben Fradet