This API based on this website and got simplified by myself
No | Route | Method | Explain | Example payload |
---|---|---|---|---|
1 | / | POST | for getting trending meme |
{ "page": 1 } |
2 | /category | POST | for getting meme based on category |
{ "page": 1, "category":1 } |
[
{
id: 0,
name: "Funny",
},
{
id: 1,
name: "Dark",
},
{
id: 2,
name: "Gaming",
},
{
id: 4,
name: "Fact",
},
{
id: 7,
name: "News",
},
{
id: 8,
name: "Drama",
},
{
id: 11,
name: "Animals",
},
];
-
Clone this project
https://github.com/VirtualPetProjectTA/MemeAPIScrape.git
-
Install Dependencies
npm i
ornpm i --legacy-peer-deps
ornpm i --force
-
Run
npm start
You guys can try this API in this Link