An open API service indexing awesome lists of open source software.

https://github.com/khrabrovart/vk-api-schema-parser

VK (VKontakte) API JSON schema parser for .NET
https://github.com/khrabrovart/vk-api-schema-parser

api csharp json json-schema parser vk vk-api-schema vkontakte

Last synced: 4 months ago
JSON representation

VK (VKontakte) API JSON schema parser for .NET

Awesome Lists containing this project

README

          

# VK API Schema Parser ![Nuget](https://img.shields.io/nuget/v/VKApiSchemaParser.svg)

Easy-to-use VK (originally VKontakte) API schema parser that gives you back a bunch of ordinary .NET objects kindly prepared for futher processing

## Description
Converts [VK API Schema](https://github.com/VKCOM/vk-api-schema) to C# objects.

Works with:
* [Objects](https://github.com/VKCOM/vk-api-schema/blob/master/objects.json)
* [Responses](https://github.com/VKCOM/vk-api-schema/blob/master/responses.json)
* [Methods](https://github.com/VKCOM/vk-api-schema/blob/master/methods.json)

Official VK API documentation about its JSON schema can be found [here](https://vk.com/dev/json_schema).

## NuGet Package
Install VK API Schema Parser package:
```
Install-Package VKApiSchemaParser
```

[NuGet package link](https://www.nuget.org/packages/VKApiSchemaParser)

## Usage
```csharp
var schema = await VKApiSchema.ParseAsync();

var objects = schema.Objects;
var responses = schema.Responses;
var methods = schema.Methods;
var errors = schema.Errors;
```