Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fleshed out usage/dashboard examples
- Loading branch information
1 parent
7bdb7a7
commit 270c05c
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,8 @@ body { | |
|
||
a { | ||
color: #00B7FF; | ||
} | ||
|
||
div { | ||
margin: 2em 0 0 1em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,29 @@ | ||
extends layout | ||
|
||
block content | ||
h1 Example Dashboard | ||
h2 Usage Examples | ||
|
||
ul | ||
|
||
li: a(href='/deezer/search/artist?q=eminem') Search for artists with "eminem" in their name | ||
|
||
li: a(href='/deezer/me') Get information on the currently logged-in user | ||
li: a(href='/deezer/me') Get information on the currently logged-in user | ||
|
||
div | ||
h3 Want more? | ||
|
||
p | ||
span You can also access any of the API calls documented on | ||
a(href='developers.deezer.com') developers.deezer.com | ||
span . | ||
|
||
h5 For example: | ||
strong: a(href='http://localhost:3000/deezer/search/artist?q=modest%20mouse') http://localhost:3000/deezer/search/artist?q=modest%20mouse | ||
br | ||
span or: | ||
strong: a(href='http://localhost:3000/deezer/search/artist?q=death%20cab') http://localhost:3000/deezer/search/artist?q=death%20cab | ||
|
||
form(action='/deezer/search/artist') | ||
h5 Try your own artist search: | ||
strong http://localhost:3000/deezer/search/artist/ | ||
input(value='foo' name='q') |