Restfull API that returns a paginated list of superheroes.
Base Url: https://superheroesapi.herokuapp.com/superheroes
- List of endpoints and their parameters(string).
- /superheroes/publisher={publisher} - Returns a list of superheroes filtered by publisher.
- /superheroes/alignment={alignment} - Returns a list of superheroes filtered by alignment.
- /superheroes/race={race} - Returns a list of superheroes filtered by race.
- /superheroes/gender={gender} - Returns a list of superheroes filtered by gender.
- List of strings to be used when filtering the Base Url.
- /publisher/list - Returns a list of publishers.
- /alignment/list - Returns a list of alignments.
- /race/list - Returns a list of races.
- /gender/list - Returns a list of genders.
Click on the example hyperlinks below to view the formatted url and the JSON response.
- example1 - Returns 10 characters from the 1st page from all sexes, all races, all alignments, and all publishers.
- example2 - Returns 10 characters from the 1st page, who are male, humans, with bad alignment, from the DC Universe.
- example3 - Returns 10 characters from the 1st page, who are female, human, bad alignment, all publishers.
- example4 - Returns 10 characters from the 2nd page, who are female, human, good alignment, from Marvel Universe.
- example5 - Returns 10 characters from the 3rd page, from any race, any alignment, any publisher.
Implemented on a Mobile App: Video Demonstration
- Doilio A. Matsinhe
Copyright 2020 Doilio Abel Matsinhe
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.