All Projects → ShingZhanho → Hkosharp

ShingZhanho / Hkosharp

Licence: gpl-3.0
Unofficial C# Library of Hong Kong Observatory API

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Hkosharp

Monogame
One framework for creating powerful cross-platform games.
Stars: ✭ 8,014 (+5836.3%)
Mutual labels:  open-source, cross-platform
Cross Platform Node Guide
📗 How to write cross-platform Node.js code
Stars: ✭ 1,161 (+760%)
Mutual labels:  api, cross-platform
Tus Resumable Upload Protocol
Open Protocol for Resumable File Uploads
Stars: ✭ 1,070 (+692.59%)
Mutual labels:  open-source, cross-platform
Acid
A high speed C++17 Vulkan game engine
Stars: ✭ 838 (+520.74%)
Mutual labels:  open-source, cross-platform
Cutehmi
CuteHMI is an open-source HMI (Human Machine Interface) software written in C++ and QML, using Qt libraries as a framework. GitHub repository is a mirror!
Stars: ✭ 90 (-33.33%)
Mutual labels:  open-source, cross-platform
Openapi3 Validator
Validator for OpenAPI v3 specs
Stars: ✭ 11 (-91.85%)
Mutual labels:  api, open-source
Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (+757.04%)
Mutual labels:  weather, open-source
Hprose Java
Hprose is a cross-language RPC. This project is Hprose 2.0 for Java
Stars: ✭ 542 (+301.48%)
Mutual labels:  api, cross-platform
Bhagavadgita
A non-profit initiative to help spread the transcendental wisdom from the Bhagavad Gita to people around the world.
Stars: ✭ 84 (-37.78%)
Mutual labels:  api, open-source
Flutter Music Player
Flutter Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.
Stars: ✭ 1,215 (+800%)
Mutual labels:  open-source, cross-platform
Cortex4py
Python API Client for Cortex
Stars: ✭ 22 (-83.7%)
Mutual labels:  api, open-source
Neovim
Vim-fork focused on extensibility and usability
Stars: ✭ 49,389 (+36484.44%)
Mutual labels:  api, cross-platform
Quietweather
☀️ Develop a weather wechat mini program application in two days - 两天撸一个天气应用微信小程序
Stars: ✭ 677 (+401.48%)
Mutual labels:  weather, open-source
Aeris Ios Library
Contains a demo project utilizing the AerisWeather SDK for iOS to help you get started with using our library.
Stars: ✭ 21 (-84.44%)
Mutual labels:  api, weather
Cortex
Cortex: a Powerful Observable Analysis and Active Response Engine
Stars: ✭ 676 (+400.74%)
Mutual labels:  api, open-source
Hprose Golang
Hprose is a cross-language RPC. This project is Hprose for Golang.
Stars: ✭ 1,143 (+746.67%)
Mutual labels:  api, cross-platform
Ctk
A set of common support code for medical imaging, surgical navigation, and related purposes.
Stars: ✭ 498 (+268.89%)
Mutual labels:  open-source, cross-platform
Topydo
A powerful todo list application for the console, using the todo.txt format.
Stars: ✭ 511 (+278.52%)
Mutual labels:  open-source, cross-platform
Dark Sky Api
PHP Library for the Dark Sky API.
Stars: ✭ 70 (-48.15%)
Mutual labels:  api, weather
Airdcpp Webclient
Communal peer-to-peer file sharing application for file servers/NAS devices
Stars: ✭ 106 (-21.48%)
Mutual labels:  api, cross-platform


C# Library of Hong Kong Observatory Open Data API

Build Status codecov Nuget version GitHub latest version License

What is HKOSharp?

HKOSharp is a C# library which allows you to access the Hong Kong Observatory Open Data API without handling bunches of Http requests, responses or JSON.

Todo list

  1. Update documentation for a recent rewrite.
  2. Translate document into Chinese Traditional and Chinese Simplified.
  3. Finish Weather class.
  4. Move from CircleCI to Travis CI. (Succeesfully moved to GitHub Workflow)
  5. Increase Code Coverage

Build

To build the project, you need to:

  1. Clone the repo to your machine.
  2. Open the .sln file with your favourite IDE.
  3. That's it!

Installation

To use HKOSharp in your project, there are several ways to do so:

Usage

For the full usage of HKOSharp, you should check HKOSharp Documentations.

WARNING: Library were rewritten recently and documentation may not be up-to-date.

Here are some examples of usages of HKOSharp:

// Imports namespace
using HKOSharp.LibHKOSharp;
// Gets today's Local Weather Forecast
var localForecast = Weather.GetLocalForecast(Language.English);
Console.Write("Description of today's forecast: ");
Console.Write(localForecast.ForecastDesc);
// Output:
// Description of today's forecast: Under the influence of an anticyclone aloft, the weather is ...
// Gets latest Earthquake information
var eqInfo = Earthquake.GetLatestEqInfoAsnyc(Language.TraditionalChinese);
Console.Write("Latest Earthquake Report Region: ");
Console.Write(eqInfo.Region);
// Output:
// Latest Earthquake Report Region: 班達海

Dependencies

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].