All Projects → chucknorris-io → Chuck Api

chucknorris-io / Chuck Api

Licence: gpl-3.0
👊 chucknorris.io is a free resource for hand curated Chuck Norris facts.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Chuck Api

Pizza Cli
🍕 Order a pizza in a CLI app (just for fun!)
Stars: ✭ 58 (-59.72%)
Mutual labels:  fun
Russian Roulette
🍀 You want to push your luck? ... Go ahead and try your best with this CLI russian roulette! 💥
Stars: ✭ 92 (-36.11%)
Mutual labels:  fun
Consoleimg
Display images in your developer console!
Stars: ✭ 132 (-8.33%)
Mutual labels:  fun
Simplepyscripts
Collection of various python script's.
Stars: ✭ 67 (-53.47%)
Mutual labels:  fun
Funvideocrop
Freely painted area in a video, the software will automatically be cut out.
Stars: ✭ 87 (-39.58%)
Mutual labels:  fun
Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (+860.42%)
Mutual labels:  fun
Generative Designs
A collection of generative design React components
Stars: ✭ 51 (-64.58%)
Mutual labels:  fun
Hortor Cheater
头脑王者作弊辅助工具
Stars: ✭ 135 (-6.25%)
Mutual labels:  fun
Scrmbl
🛰 Spy movies text reveal library and cli
Stars: ✭ 90 (-37.5%)
Mutual labels:  fun
Tinyrenderer
A brief computer graphics / rendering course
Stars: ✭ 11,776 (+8077.78%)
Mutual labels:  fun
Spicy Proton
Generate a random English adjective-noun word pair in Ruby
Stars: ✭ 76 (-47.22%)
Mutual labels:  fun
Fractal
Mandelbrot fractal generator - js web app, uses zero libraries
Stars: ✭ 87 (-39.58%)
Mutual labels:  fun
Nodable
a node-able bidirectionnal expression editor.
Stars: ✭ 103 (-28.47%)
Mutual labels:  fun
Awesome Hilarious Repos
Awesome hilarious github repositories
Stars: ✭ 62 (-56.94%)
Mutual labels:  fun
Calypsobot
A fully customizable bot built with discord.js
Stars: ✭ 131 (-9.03%)
Mutual labels:  fun
Nitro
A discord bot
Stars: ✭ 56 (-61.11%)
Mutual labels:  fun
Achievibit
Github Gamification - Achievements system as a GitHub WebHook.
Stars: ✭ 93 (-35.42%)
Mutual labels:  fun
2016 Ml Contest
Machine learning contest - October 2016 TLE
Stars: ✭ 135 (-6.25%)
Mutual labels:  fun
Whatthecommit
Unoffical command line client for https://whatthecommit.com
Stars: ✭ 134 (-6.94%)
Mutual labels:  fun
Python and the web
Build Bots, Scrape a website or use an API to solve a problem.
Stars: ✭ 114 (-20.83%)
Mutual labels:  fun

CHUCKNORRIS.IO CircleCI

chucknorris.io is a free JSON API for hand curated Chuck Norris facts.

Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.

Chuck Norris facts have spread around the world, leading not only to translated versions, but also spawning localized versions mentioning country-specific advertisements and other Internet phenomena. Allusions are also sometimes made to his use of roundhouse kicks to perform seemingly any task, his large amount of body hair with specific regard to his beard, and his role in the action television series Walker, Texas Ranger.

Usage

# Retrieve a random chuck joke
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/random' \
       --header 'accept: application/json'

# Retrieve a random chuck joke by one or more categories
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/random?category=dev,explicit' \
       --header 'accept: application/json'

# Retrieve a random personalized chuck joke
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/random?name=Bob' \
       --header 'accept: application/json'

# Retrieve a random personalized chuck joke by one or more categories
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/random?name=Bob&category=dev,explicit' \
       --header 'accept: application/json'

# Retrieve a list of available categories
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/categories' \
       --header 'accept: application/json'

# Free text search
$ curl --request GET \
       --url 'https://api.chucknorris.io/jokes/search?query={query}' \
       --header 'accept: application/json'

Example response:

{
  "categories": ["dev"],
  "created_at": "2019-06-02 08:47:39.43184",
  "icon_url": "https://assets.chucknorris.host/img/avatar/chuck-norris.png",
  "id": "bwoz2uwsqnwmyawyxdvo1w",
  "updated_at": "2019-06-02 08:47:39.43184",
  "url": "https://api.chucknorris.io/jokes/bwoz2uwsqnwmyawyxdvo1w",
  "value": "Chuck Norris finished World of Warcraft."
}

For more examples check the Swagger documentation and have a look into the Postman collection.

Local development

An example of all required application variables can be found in the application-example.properties.

# Start all application dependencies
$ docker-compose up     # Will run as a long running process
$ docker-compose up -d  # Will run in background

# Start the application itself
$ SPRING_PROFILES_ACTIVE=development ./gradlew clean bootRun

Urls:

License

This distribution is covered by the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007.

Support & Contact

Having trouble with this repository? Check out the documentation at the repository's site or contact [email protected] and we’ll help you sort it out.

Happy Coding

✌️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].