Description
This extension adds easy access to the Meme API for GDevelop.
The Meme API itself is under a MIT license, which is perfect for GDevelop.
The extension allows users to :
- Obtain one random meme from the default subreddits ('memes', 'dankmemes', 'me_irl')
- Obtain one random meme from a selected subreddit
The meme data is then returned in JSON format containing :
- Link to reddit post (string)
postLink
- Subreddit name (string)
subreddit
- Post title (string)
title
- Image URL (string)
url
- Is it NSFW (boolean)
nsfw
- Is it a spoiler (boolean)
spoiler
- Username of the post's author (string)
author
- Quantity of upvotes on post (number)
ups
- Image preview URLs from lowest to highest quality (array)
preview
This data can then be exported in a structure variable in GDevelop, and retrieved with VariableString(OutputVariable.something) (for getting the title, it would be VariableString(OutputVariable.title))
How to use the extension
- Use the
Obtain a random meme or Obtain a random meme from a specific subreddit action, choose an output variable for the JSON data (and also choose subreddit name in the case of the specific subreddit action)
- Use
VariableString() to retreive obtained data.
- Example for getting the title with a variable named
FunnyMeme : VariableString(FunnyMeme.title)
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Meme API - Example.zip
Extension file
MemeAPI.zip
Description
This extension adds easy access to the Meme API for GDevelop.
The Meme API itself is under a MIT license, which is perfect for GDevelop.
The extension allows users to :
The meme data is then returned in JSON format containing :
postLinksubreddittitleurlnsfwspoilerauthorupspreviewThis data can then be exported in a structure variable in GDevelop, and retrieved with
VariableString(OutputVariable.something)(for getting the title, it would beVariableString(OutputVariable.title))How to use the extension
Obtain a random memeorObtain a random meme from a specific subredditaction, choose an output variable for the JSON data (and also choose subreddit name in the case of the specific subreddit action)VariableString()to retreive obtained data.FunnyMeme:VariableString(FunnyMeme.title)Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Meme API - Example.zip
Extension file
MemeAPI.zip