Skip to content

IIISpikerIII/soc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soc-api

API social resources

Used API: VK, GOOGLE, INSTAGRAM, FLICKR

VK

if auth false

$vk = new Vk();
$data = $vk->run('photos.search',array('q' => 'cats', 'count' => 5));

if auth true

$vk = new Vk(
    array(
        'redirect_url'  => 'XXXXXXXXXXXX',
        'app_id'        => 'XXXXXX',
        'secret_key'    => 'XXXXXXXXXXXXXXXXX',
    )
);
$data = $vk->run('audio.getLyrics',array('lyrics_id' => '2428970'), true);

GOOGLE

$google = new Google();

web, images

$data = $google->run('web',array('q' => 'Пингвин'));

About

API social resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages