rvk_objects

Crates.iorvk_objects
lib.rsrvk_objects
version0.2.0
sourcesrc
created_at2022-06-11 18:18:49.237145
updated_at2022-06-20 10:00:00.271035
descriptionCrate providing objects for use with VK (VKontakte) API
homepage
repositoryhttps://github.com/u32i64/rvk
max_upload_size
id604172
size48,090
(u32i64)

documentation

README

Represents various objects that are returned as JSON by the VK API.

It has two complementary crates: rvk, which allows accessing the API, and rvk_methods, which provides methods to avoid the need to specify them as strings in rvk (it depends on rvk to call the methods). These crates can also be used separately.

Note that for rvk_methods and rvk_objects, the supported versions of the VK API may be different. Consult the API_VERSION constant in these crates to learn which versions they support.

See here for an example of using all 3 crates.

Note: type and ref fields

Since type and ref are Rust keywords, an underscore (_) is added at the end of these:

  • type -> type_,
  • ref -> ref_.

Note

Due to the nature of the VK API documentation, it is not always clear if the value is always passed or not, and sometimes the data type is not defined.

If you spot any mistakes or bugs, please report them!

Commit count: 193

cargo fmt