lfmundim / horoscope-nuget

A .NET library for Zodiac signs. Get details on each Zodiac sign, pass a date and know which Zodiac sign it falls in or get a list of all Zodiac signs.

Home Page:https://www.nuget.org/packages/Horoscope/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Horoscope NuGet

A .NET library for zodiac signs. Get details on each zodiac sign, pass a date and know which zodiac sign it falls in or get a list of all zodiac signs. Now includes Chinese zodiac signs and elements!

NuGet NuGet Downloads Azure DevOps builds Azure DevOps tests

How to use

Installation

Library can either be directly downloaded from Nuget.org, OR installed via the NuGet Package Manager UI or via the Package Manager Console if you're using Visual Studio.

Command to install Horoscope NuGet via the Package Manager Console UI in Visual Studio shown below.

PM> Install-Package Horoscope 

Usage

Include the namespace in your program.

using Horoscope;

Then go ahead and consume it.

var zodiacSign = Zodiac.GetZodiacSignForDate(new DateTime(1950, 2, 12));

More examples

Horoscope.Zodiac
Horoscope.ChineseZodiac

Release notes

Find release notes here.

Credits

(c) 2018 Clyde D'Souza
Icon credits: Firkin

About

A .NET library for Zodiac signs. Get details on each Zodiac sign, pass a date and know which Zodiac sign it falls in or get a list of all Zodiac signs.

https://www.nuget.org/packages/Horoscope/

License:MIT License


Languages

Language:C# 100.0%