Coder Social home page Coder Social logo

rm-u-api-cookbook's Introduction

RM & U API Cookbook

This is a Rick and Morty and Unsplash API documentation bootstrapped with Next.js

Author : Anita Kahenya April 2024

Endpoints Available

1. Rick and Morty

Method Endpoint Description
GET /location get all locations
GET /location/{id} get location by id
GET /location/1,13,5 get multiple locations by id
GET /character/{id} get a character by id
GET /characters get all characters
GET /character/3, 15,24 get multiple characters by ids
GET /episode/{id} get episode by id
GET /episode get all episodes
GET /episode/2,13,20 get multiple episodes by ids

2. Unsplash

Method Endpoint Description
GET /photos get all photos
GET /photos/{id} get a photo by id
GET /photos/random get a random photo
GET /photos/{id}/statistics get photo statistics
GET /photos/{id}/download download a photo by id
GET /search/photos Search photo by page and keyword
GET /search/collection Search photo by page number and collection name
GET /search/users search photo by username and page number
GET /collections get collection by page number
GET /collections/{id} get collection by id
GET /topics/{id_or_slug} get topic by id or slug
GET /topics/{page} get a topic by page number
GET /topics/{id_or_slug}/photos get a topic's photo

lIVE Preview

The project has been deployed to Vercel and here is the Live link

Technologies & Languages

SetUp Instruction

  1. Clone the repository using git clone
  2. Navigate to the project folder
  3. Install dependencies by running npm install or yarn install.
  4. Run the development server with npm run dev or yarn dev.
  5. Open http://localhost:3000 with your browser to see the result.

Contributing and Making Changes

  1. Create a new branch in your terminal git checkout -b improve-feature
  2. Make necessary changes on the codebase
  3. Run the development server with npm run dev or yarn dev to see the changes.
  4. Add the changes and commit them git commit -am "Improve App"
  5. Push to the branch git push origin improve-app and open a new pull request

Known Bugs

There are no known bugs


Contact Information


MIT License Copyright (c) 2024 Anita Kahenya

rm-u-api-cookbook's People

Contributors

kahenya-anita avatar

Watchers

 avatar

Forkers

amoncheruiyot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.