Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@datafire/jokes_one
Advanced tools
Readme
Client library for Jokes One API
npm install --save @datafire/jokes_one
let jokes_one = require('@datafire/jokes_one').create({
"X-JokesOne-Api-Secret": ""
});
.then(data => {
console.log(data);
});
Jokes One API offers a complete feature rich REST API access to its jokes platform. This is the documentation for the world famous jokes API. If you are a subscriber and you are trying this from a console add 'X-JokesOne-Api-Secret' header and add your api key as the header value. You can test and play with the API right here on this web page. For using the private end points and subscribing to the API please visit https://jokes.one/api/joke/.
Gets Joke of the Day
.
Optional category
param determines
the category of returned joke of the day
jokes_one.jod.get({}, context)
object
string
: JOD CategoryGets a list of Joke of the Day
Categories.
jokes_one.jod.categories.get(null, context)
This action has no parameters
Output schema unknown
Delete a joke. The user needs to be the owner of the joke to be able to delete it.
jokes_one.joke.delete({
"id": ""
}, context)
object
string
: Joke IDOutput schema unknown
Gets a Joke
with a given id
.
jokes_one.joke.get({}, context)
object
string
: Joke IDUpdate a joke
jokes_one.joke.patch({
"id": ""
}, context)
object
string
: Joke IDstring
: titlestring
: textstring
: Joke Authorstring
: Comma Separated tagsOutput schema unknown
Add a new joke to your private collection.
jokes_one.joke.put({
"title": "",
"text": ""
}, context)
object
string
: Joke Titlestring
: Joke Textstring
: Joke Authorstring
: Comma Separated tagsOutput schema unknown
Gets a list of Joke
Categories, based on a query term.
jokes_one.joke.categories.search.get({
"query": ""
}, context)
object
string
: Search Queryinteger
: Response is paged. This parameter controls where response starts the listing atOutput schema unknown
Get the list of jokes in your private collection.
jokes_one.joke.list.get({}, context)
object
integer
: Response is paged. This parameter controls where response starts the listing atOutput schema unknown
Gets a Random Joke
. When you are in a hurry this is what you call to get a random famous joke.
jokes_one.joke.random.get(null, context)
This action has no parameters
Search for a Joke
in Jokes One platform. Optional category
, author
, minlength
, maxlength
params determines the filters applied while searching for the joke.
jokes_one.joke.search.get({}, context)
object
string
: Joke Categorystring
: keyword to search for in the jokeinteger
: Joke minimum Lengthinteger
: Joke maximum Lengthstring
: Joke Authorboolean
: Should search private collection? Default searches public collection.Add a tag to a given Joke.
jokes_one.joke.tags.add.post({
"id": "",
"tags": ""
}, context)
object
string
: Joke IDstring
: Comma Separated tagsOutput schema unknown
Remove a tag from a given joke.
jokes_one.joke.tags.remove.post({
"id": "",
"tags": ""
}, context)
object
string
: Joke IDstring
: Comma Separated tagsOutput schema unknown
string
: Author name of joke.string
: The Joke.array
: Array of tags/categories.
string
string
: Title of the Joke.string
: Unique identifier representing a specific joke in jokes.one.string
: Image URL that can be used for background to display this joke.integer
: Length of the joke string.string
: Author name of joke.string
: The Joke.array
: Array of tags/categories.
string
string
: Title of the Joke.string
: Unique identifier representing a specific joke in jokes.one.string
: Image URL that can be used for background to display this joke.integer
: Length of the joke string.string
: Date this joke of the day belongs toobject
object
array
: List of jokes
string
: Metadata about this successful callobject
object
array
: List of jokes
string
: Metadata about this successful callobject
string
: Author name of joke.string
: The Joke.array
: Array of tags/categories.
string
string
: Title of the Joke.FAQs
DataFire integration for Jokes One API
The npm package @datafire/jokes_one receives a total of 1 weekly downloads. As such, @datafire/jokes_one popularity was classified as not popular.
We found that @datafire/jokes_one demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.