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

Saner API for getting formatted text #12

Closed
outoftime opened this issue Mar 20, 2014 · 0 comments
Closed

Saner API for getting formatted text #12

outoftime opened this issue Mar 20, 2014 · 0 comments

Comments

@outoftime
Copy link

Hey—just wanted to give you a heads up that the RG API now supports a text_format query param (to any endpoint) that lets you choose what representation formatted text should have. E.g. http://api.rapgenius.com/songs/70324?text_format=html will return formatted text (lyrics, description) in HTML. Valid options are dom (default), html, markdown, and plain, and you can pass multiple formats separated by a comma.

Thought that might help simplify things on the client end!

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

1 participant