Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/artem-zinnatullin/android-vk-api

DEPRECATED! (Not supported + code base is not so good) Need to work with vk.com in your Android app? Just use Android-VK-Api library!
https://github.com/artem-zinnatullin/android-vk-api

Last synced: 23 days ago
JSON representation

DEPRECATED! (Not supported + code base is not so good) Need to work with vk.com in your Android app? Just use Android-VK-Api library!

Awesome Lists containing this project

README

        

#Android-VK-Api library (deprecated)

I am sorry, but this code is not supported, so if you want to use it, please create a fork and play with it, I am keeping it here for guys, who starred repo

**Need to work with vk.com in your Android app? Just use Android-VK-Api library!**

-----
####*Structure of Android-VK-Api is maximally similar to vk.com api*

All methods has same parameters as their originals on api.vk.com

###*Pavel Durov says:*
Best Android vk.com api implementation I ever seen!» (little joke)

-----

####How to use library in your project?

##You can import it in 2 ways:
* As jar library (simple, but troubles with javadoc), just take Android-VK-Api-x.x.x.jar from Jar folder
* As [Android Library Project] (http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject),
download Android-VK-Api folder and connect it as library project in your IDE

## Sample of code
import com.artemzin.android.vk.api.VKApi;
...
VKApi api = new VKApi("access_token");
// That is all! Now you can work with vk.com api!

// For example, lets get all friends of Pavel Durov
List pavelDurovFriends = api.friends.get(1L, VKUser.ALL_FIELDS, null, null, null, null, null);


------
Some ideas were taken from the [thest1 VK SDK project] (https://github.com/thest1/Android-VKontakte-SDK),
but Android-VK-Api has **better code and documentation** with links to [vk.com developers docs] (http://vk.com/developers.php?oid=-1&p=%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%BE%D0%B2_API)
, plus full code coverage with JUnit tests.