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

A C# wrapper for Gearbest Associate Program api

License

Notifications You must be signed in to change notification settings

3cpt/andgearbest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A C# wrapper for Gearbest Associate Program api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages