Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples are not functioning as intended #6

Open
modelarious opened this issue Jan 12, 2019 · 4 comments
Open

Examples are not functioning as intended #6

modelarious opened this issue Jan 12, 2019 · 4 comments

Comments

@modelarious
Copy link

I'm going through the examples trying to use the API for my purposes, but many of the provided examples do not have all the needed positional parameters.

For example:

musixmatch.track_search(q_artist='twentyonepilots', page_size=10, page=1, s_track_rating='desc')

will throw a TypeError telling the user: "TypeError: track_search() missing 1 required positional argument: 'q_track'"

@jac0b-w
Copy link

jac0b-w commented Apr 19, 2020

Yeah it should be something like this:
musixmatch.track_search( q_artist='Twenty One Pilots', q_track = "Ride", page_size=10, page=1, s_track_rating='desc', )

@geraldspacelim
Copy link

hi @jac0b-w, this api is not working recently, it is returning {'message': {'header': {'status_code': 500, 'execute_time': 0.0043199062347412, 'exception_id': 2000}, 'body': ''}}

@hudsonbrendon
Copy link
Owner

Sorry, I'm already working on a PR that corrects this.

@AliAAgaming
Copy link

Ride

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants