Meme
Information about the meme object
Last updated
Information about the meme object
Last updated
The Meme object is returned when requesting 1 or multiple memes. An example object is as follows.
{
"disabled": false,
"memeid": "aaaaaaa",
"caption": "***__AAAAAAAA__***",
"author": {
"username": "Chew",
"bio": "#1 most depressed memerator user. pronouns: she/her",
"id": 476488167042580481,
"stats": {
"memes": 171,
"followers": 26,
"following": 20
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/476488167042580481",
"joined": "2018-10-11T15:37:03.000Z"
},
"rating": {
"average": 3.75,
"total": 4
},
"url": "https://cdn.memerator.me/K7bLRy9.jpg",
"permalink": "https://memerator.me/meme/aaaaaaa",
"timestamp": "2019-02-15T13:29:01.000Z",
"time_ago": "11 months"
}
GET
https://api.memerator.me/v1/meme/:id
This request gets a meme by its ID.
Response of a valid meme.
{
"disabled": false,
"memeid": "aaaaaaa",
"caption": "***__AAAAAAAA__***",
"author": {
"username": "Chew",
"bio": "#1 most depressed memerator user. pronouns: she/her",
"id": 476488167042580481,
"stats": {
"memes": 171,
"followers": 26,
"following": 20
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/476488167042580481",
"joined": "2018-10-11T15:37:03.000Z"
},
"rating": {
"average": 3.75,
"total": 4
},
"url": "https://cdn.memerator.me/K7bLRy9.jpg",
"permalink": "https://memerator.me/meme/aaaaaaa",
"timestamp": "2019-02-15T13:29:01.000Z",
"time_ago": "11 months"
}
Response of an invalid auth key.
{
"error": "Auth not valid"
}
Response of a meme that doesn't exist (or is disabled, and you aren't the owner)
{
"error": "meme does not exist"
}
GET
https://api.memerator.me/v1/meme/random
Gets a random meme. Note: Not completely random?
[a meme object]
{
"error": "Auth not valid"
}
PUT
https://api.memerator.me/v1/meme/:id/caption
Change the caption of a meme you own.
{
"error": ""
}
{
"error": "Auth not valid"
}
{ "error": 'meme does not exist' }
{ "error": 'Unknown Error Changing Caption' }
GET
https://api.memerator.me/v1/meme/:id/comments
This method returns an array of comments for a specified meme and their author.
[
{
"id": 5,
"author": {
"username": "Chew",
"bio": "#1 most depressed Memerator user. pronouns: she/her 🏳️⚧️",
"id": 476488167042580481,
"stats": {
"memes": 382,
"followers": 28,
"following": 24
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/476488167042580481",
"joined": "2018-10-11T15:37:03.000Z",
"joined_epoch_seconds": 1539272223
},
"content": "aaaaaaaaaaaaaaaaaaaaaa",
"meme": {
"disabled": false,
"memeid": "aaaaaaa",
"caption": "***__AAAAAAAA__***",
"author": {
"username": "Chew",
"bio": "#1 most depressed Memerator user. pronouns: she/her 🏳️⚧️",
"id": 476488167042580481,
"stats": {
"memes": 382,
"followers": 28,
"following": 24
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/476488167042580481",
"joined": "2018-10-11T15:37:03.000Z",
"joined_epoch_seconds": 1539272223
},
"rating": {
"average": 4.0,
"total": 5
},
"age": 1,
"url": "https://cdn.memerator.me/K7bLRy9.jpg",
"permalink": "https://memerator.me/meme/aaaaaaa",
"timestamp": "2019-02-15T13:29:01.000Z",
"timestamp_epoch_seconds": 1550237341,
"time_ago": "over 1 year"
},
"timestamp": "2020-02-02T15:11:31.000Z",
"timestamp_epoch_seconds": 1580656291
}
]
PUT
https://api.memerator.me/v1/meme/:id/disable
Disables a meme by ID. Meme author only!
{ "success": true }
{ "error": "this meme is already disabled" }
{ "error": "Auth not valid" }
{ "error": "you don't own this meme" }
{ "error": "meme does not exist" }
PUT
https://api.memerator.me/v1/meme/:id/enable
Exact same as disable, but for enabling
{ "success": true }
{ "error": "this meme is already enabled" }
{ "error": "Auth not valid" }
{ "error": "you don't own this meme" }
{ "error": "meme does not exist" }
GET
https://api.memerator.me/v1/meme/:id/rating
Gets your rating on a meme.
{ "rating": 5 }
{ "error": 'Auth not valid' }
{ "error": 'meme does not exist' }
GET
https://api.memerator.me/v1/meme/:id/ratings
Gets all ratings for a meme. Pro only! Requires "Ratings" key permission.
[
{
"user": {
"username": "treye_2019",
"bio": "",
"id": 296476360602419211,
"stats": {
"memes": 1,
"followers": 0,
"following": 0
},
"perks": {
"verified": false,
"staff": false,
"translator": false,
"pro": false
},
"permalink": "https://memerator.me/profile/296476360602419211",
"joined": "2019-03-02T00:43:26.000Z",
"joined_epoch_seconds": 1551487406
},
"rating": 1,
"timestamp": "2019-05-20T13:04:33.000Z"
},
{
"user": {
"username": "Chew",
"bio": "#1 most depressed Memerator user. pronouns: she/her 🏳️⚧️",
"id": 476488167042580481,
"stats": {
"memes": 382,
"followers": 28,
"following": 24
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/476488167042580481",
"joined": "2018-10-11T15:37:03.000Z",
"joined_epoch_seconds": 1539272223
},
"rating": 5,
"timestamp": "2019-05-20T13:04:33.000Z"
},
{
"user": {
"username": "Loyal_2019",
"bio": null,
"id": 181249274699448320,
"stats": {
"memes": 0,
"followers": 0,
"following": 0
},
"perks": {
"verified": false,
"staff": false,
"translator": false,
"pro": false
},
"permalink": "https://memerator.me/profile/181249274699448320",
"joined": "2019-03-31T21:35:12.000Z",
"joined_epoch_seconds": 1554068112
},
"rating": 4,
"timestamp": "2019-05-20T13:04:33.000Z"
},
{
"user": {
"username": "ur_mom",
"bio": "is gay",
"id": 783885855388066361,
"stats": {
"memes": 239,
"followers": 8,
"following": 4
},
"perks": {
"verified": true,
"staff": false,
"translator": false,
"pro": false
},
"permalink": "https://memerator.me/profile/783885855388066361",
"joined": "2019-10-24T20:37:28.000Z",
"joined_epoch_seconds": 1571949448
},
"rating": 5,
"timestamp": "2019-11-06T00:28:07.000Z"
},
{
"user": {
"username": "taketheshake",
"bio": "I wish I was awesome as chew, but she's almost equivalent to comp sci meme Jesus, so maybe not.",
"id": 338784252382412800,
"stats": {
"memes": 3,
"followers": 5,
"following": 1
},
"perks": {
"verified": true,
"staff": true,
"translator": false,
"pro": true
},
"permalink": "https://memerator.me/profile/338784252382412800",
"joined": "2019-04-17T13:27:02.000Z",
"joined_epoch_seconds": 1555507622
},
"rating": 5,
"timestamp": "2020-02-28T14:39:58.000Z"
}
]
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|