Forem API for .NET
API interface for Forem apps. Forem is the platform which powers DEV and other online communities.
API Support
We attempt to support all the API endpoints per the Forem/DEV API, which includes:
- Articles
- Users
- Podcasts
- Videos
Where available, the library supports pagination and page size controls If there is an API endpoint that isn't currently supported, feel free to open an issue or create a PR.
Getting Started
Installation
To install the library run the below on Nuget Manager Console:
Install-Package Forem.Api -Version 0.4.0
Usage
-
For Some of the methods, DEV API key
apiKey
is required to be passed to authenticate you as a user To obtain one, check the authentication section GET API KEY -
Using DI, Add the service to the container just by doing the below:
services.AddForemApi(new Uri("https://dev.to/"))
-
Configure your
HttpClient
DI by addingโฆ