Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PoLaKoSz/Portfolio.hu
With this small tool You can get any information from https://portfolio.hu/
https://github.com/PoLaKoSz/Portfolio.hu
api articles async csharp netstandard portfolio scrape stock-market
Last synced: about 1 month ago
JSON representation
With this small tool You can get any information from https://portfolio.hu/
- Host: GitHub
- URL: https://github.com/PoLaKoSz/Portfolio.hu
- Owner: PoLaKoSz
- License: mit
- Created: 2018-07-26T08:43:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:32:43.000Z (about 2 years ago)
- Last Synced: 2024-11-20T22:11:51.125Z (about 2 months ago)
- Topics: api, articles, async, csharp, netstandard, portfolio, scrape, stock-market
- Language: C#
- Homepage:
- Size: 170 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portfolio.hu API
A .NET standard 2.0 library to save data from [Portfolio.hu](https://portfolio.hu/).
## Install
via [NuGet](https://www.nuget.org/packages/Portfolio.hu.API)
``` sh
dotnet add package Portfolio.hu.API
```### Quick start
``` c#
using PoLaKoSz.hu.Portfolio_hu_API.DataAccessLayer;
using PoLaKoSz.hu.Portfolio_hu_API.EndPoints;
using PoLaKoSz.hu.Portfolio_hu_API.Models;// ...
var client = new WebClient();
var stockMarket = new StockMarketEndPoint(client);
Share ticker = stockMarket.Get(new ShareType("OTP"));var salesDetails = new SalesEndPoint(client);
IReadOnlyList sales = salesDetails.For(new ShareType("OTP"));IReadOnlyList availableStocks = salesDetails.GetAvailableOptions();
```