Skip to content

elijahjcobb/dark-sky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dark-sky

A working TypeScript library for darksky.net providing all types and uses promises.

Example

const api: DarkSky = new DarkSky("api-key", 0, 0);

const currently: DarkSkyReportCurrently = await api.getCurrently();
const minutely: DarkSkyReportMinutely = await api.getMinutely();
const hourly: DarkSkyReportHourly = await api.getHourly();
const daily: DarkSkyReportDaily = await api.getDaily();
const alerts: DarkSkyReportAlerts = await api.getAlerts();
const flags: DarkSkyReportFlags = await api.getFlags();
const allCategories: DarkSkyReport = await api.get();

Types

All types were last updated 3/20/2020 from the DarkSky Docs.

Documentation

Everything is completely documented. You can view the source code on GitHub.

Bugs

If you find any bugs please create an issue on GitHub or if you are old fashioned email me at elijah@elijahcobb.com.

About

A working TypeScript library for darksky.net providing all types and uses promises.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published