for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sourceout\LastFm\Services;
class GeoService extends AbstractService
{
/**
* Get the most popular artists by country
*
* @param string $country
* @param integer $page
* @param integer $limit
*/
public function getTopArtists(
string $country,
int $page = 1,
int $limit = 50
)
return $this->provider
->getResource($this->http)
->geo()
->getTopArtists($country, $page, $limit);
}
* Get the most popular tracks by country
* @param string $location
* @return \Tightenco\Collect\Support\Collection
public function getTopTracks(
string $location = null,
int $limit = 50,
int $page = 1
) {
->getTopTracks($country, $location, $limit, $page);