M
M
mihavxc2010-09-19 17:09:56
API
mihavxc, 2010-09-19 17:09:56

Lastfm API and Russian language?

I'm trying to get Russian-language information about the artist using the LastFM API. English-speaking finds without problems .
I use the class sourceforge.net/projects/phplastfmapi/
To change the language in the request, add the parameter lang=ru

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2010-09-19
@Nc_Soft

" ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist= ". urlencode($artist). "&api_key=". $key"
$artist needs to be in utf8. It pisses
them off that the case of Russian letters is important, they can't make utf8_general_ci chtol ...

T
Thief, 2010-09-19
@Thief

How is the executor parameter encoded in the request?
this is how it worked it worked for me

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question