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
- Host: GitHub
- URL: https://github.com/khrabrovart/vk-api-schema-parser
- Owner: khrabrovart
- License: mit
- Created: 2017-08-14T18:34:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:42:35.000Z (about 3 years ago)
- Last Synced: 2025-08-01T06:07:54.461Z (5 months ago)
- Topics: api, csharp, json, json-schema, parser, vk, vk-api-schema, vkontakte
- Language: C#
- Size: 330 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VK API Schema Parser 
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;
```