Skip to content

rootasjey/qwerteesharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qwerteesharp

Very simple C# Qwertee data extractor into a library targeting .NET Standard 1.4.

⚠️ This library is unstable because it parses the Qwertee website and any unavailability of Qwertee website will make this API unavailable. And any DOM changes of the Qwertee website will probably make this lib outdated.

This lib is compatible with .NET Core, .NET Framework 4.6.1, Xamarin (iOS, Android), Universal Windows Platform.

Purpose

I wanted to group all the algorithms used in my Wearme app into a library for more clarity.

Installation

Nuget Install-Package Qwerteesharp

Usage

using Qwerteesharp;

var client = new QwerteesharpClient();
client.GetTodayTees();

API documentation

Instantiate a new client

var client = new QwerteesharpClient();

Designs

Get all current designs

var currentDesigns = await client.GetAllCurrentDesigns();

Get today designs

var todayDesigns = await client.GetTodayDesigns();

Get last chance designs

var lastChanceDesigns = await client.GetLastChanceDesigns();

Prints

Time

To get the TimeSpan before the next sale, you can use the following method:

var nextSale = client.GetTimeSpanBeforeNextSale();