https://github.com/nullforce-public/nullforce.api.deviantart.rest
https://github.com/nullforce-public/nullforce.api.deviantart.rest
csharp deviantart deviantart-api
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nullforce-public/nullforce.api.deviantart.rest
- Owner: nullforce-public
- License: mit
- Created: 2018-08-21T04:34:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:53:06.000Z (over 3 years ago)
- Last Synced: 2025-09-30T03:41:23.504Z (9 months ago)
- Topics: csharp, deviantart, deviantart-api
- Language: C#
- Size: 25.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Nullforce.Api.DeviantArt.Rest
Builds URLs for the DeviantArt API.
## Authorization
You're responsible for providing an API key and/or appending the appropriate OAuth 1.0a Authorize header to the request.
## Example Usage
```csharp
var client = new RestClient(apiKey);
// Make a request via Flurl.Http
var watching = await client
.GetUserFriendList("nullforce")
.WithPageLimit(50)
.WithPageOffset(offset)
.Uri
.WithClient(fc)
.WithOAuthBearerToken(_token)
.GetStringAsync();
var friendList = JsonConvert.DeserializeObject(watching);
```
## Building
Prerequisites:
* .NET Core SDK
First, install the dotnet tool for Cake (may require restarting a PowerShell console):
```powershell
dotnet tool install -g Cake.Tool
```
From the root of the repository:
```powershell
dotnet cake build.cake
```
## NuGet Package
NuGet package at https://www.nuget.org/packages/Nullforce.Api.DeviantArt.Rest
```powershell
Install-Package Nullforce.Api.DeviantArt.Rest
```