Added api() function to make api requests to Odnoklassniki.