ajzbc / kanye.rest Goto Github PK
View Code? Open in Web Editor NEW๐ A free REST API for random Kanye West quotes (Kanye as a Service)
Home Page: https://kanye.rest
License: MIT License
๐ A free REST API for random Kanye West quotes (Kanye as a Service)
Home Page: https://kanye.rest
License: MIT License
https://play.google.com/store/apps/details?id=com.anh_duc.quoteye
It's really simple tho, was an evening worth of work but fun to do
https://lewdev.github.io/apps/kanye.rest/index.html
I'll try to make it look better on mobile.
Thank you for this project! I didn't know how much I needed this in my life until I had it.
made a super lazy slack bot with it: https://github.com/evanscottgray/yeezybot_slack/
:)
I made a snippet to learn THREE.js using your API. It's a 3D Kanye West that when clicked will get a new quote to display in its speech bubble
Next to ?format=text you could have ?format=slack which adds "response_type": "in_channel" to json payload. So we can annoy our colleagues with yezee quotes all day long.
Would be great thanks!
I cannot resolve the api.kayne.rest domain:
[krzysztof@ZGROZA ~]$ dig api.kayne.rest
; <<>> DiG 9.16.6 <<>> api.kayne.rest
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46106
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;api.kayne.rest. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: nie wrz 27 12:20:26 UTC 2020
;; MSG SIZE rcvd: 43
[krzysztof@ZGROZA ~]$ dig @8.8.8.8 api.kayne.rest
; <<>> DiG 9.16.6 <<>> @8.8.8.8 api.kayne.rest
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 60470
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;api.kayne.rest. IN A
;; AUTHORITY SECTION:
rest. 1799 IN SOA ns0.centralnic.net. hostmaster.centralnic.net. 3000343761 900 1800 6048000 3600
;; Query time: 46 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: nie wrz 27 12:20:34 UTC 2020
;; MSG SIZE rcvd: 108
[krzysztof@ZGROZA ~]$ dig +short @8.8.8.8 api.kayne.rest
[krzysztof@ZGROZA ~]$ dig @1.1.1.1 api.kayne.rest
; <<>> DiG 9.16.6 <<>> @1.1.1.1 api.kayne.rest
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 9572
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;api.kayne.rest. IN A
;; AUTHORITY SECTION:
rest. 3600 IN SOA ns0.centralnic.net. hostmaster.centralnic.net. 3000343761 900 1800 6048000 3600
;; Query time: 29 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: nie wrz 27 12:20:47 UTC 2020
;; MSG SIZE rcvd: 108
[krzysztof@ZGROZA ~]$ dig @9.9.9.9 api.kayne.rest
; <<>> DiG 9.16.6 <<>> @9.9.9.9 api.kayne.rest
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 37812
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;api.kayne.rest. IN A
;; AUTHORITY SECTION:
rest. 3600 IN SOA ns0.centralnic.net. hostmaster.centralnic.net. 3000343761 900 1800 6048000 3600
;; Query time: 189 msec
;; SERVER: 9.9.9.9#53(9.9.9.9)
;; WHEN: nie wrz 27 12:20:52 UTC 2020
;; MSG SIZE rcvd: 108
trying from a different country:
kp332534@students:~$ host api.kayne.rest 1.1.1.1
Using domain server:
Name: 1.1.1.1
Address: 1.1.1.1#53
Aliases:
Host api.kayne.rest not found: 3(NXDOMAIN)
kp332534@students:~$ host api.kayne.rest 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
Host api.kayne.rest not found: 3(NXDOMAIN)
kp332534@students:~$ host api.kayne.rest 9.9.9.9
Using domain server:
Name: 9.9.9.9
Address: 9.9.9.9#53
Aliases:
Host api.kayne.rest not found: 3(NXDOMAIN)
The website will rarely load in my browser.
I used to be able to type curl api.kanye.rest
to a terminal and see a quote.
Now when I enter that command, I get no output on the terminal.
Hi Andrew,
I have been hitting your API a lot today to test the quotes in your API for a Markov chain. Would there be away to get the dataset of all of the quotes to avoid hitting your API numerous time?
Thanks,
Jacob
Why do you include node_modules folder in repo?
I see your .gitignore doesn't contain node_modules to ignore.
Just made a small discord.js bot using your API ;)
Repo: https://github.com/TasosY2K/Kanye-West-Twitter-Bot
Invite Link: https://discordapp.com/oauth2/authorize?client_id=551312300577914892&permissions=2048&scope=bot
This is a great project! Allowed me to make a fun 20 minute weekend demo :).
Check it out here:
https://chrome.google.com/webstore/detail/kanye-west-says/jldfgabobeklpdaofhhppkniokfckije- thanks for the brilliant service you've developed
kanyetweets.superhi.com
It was fun and I love how simple it was to use. Thanks Andrew.
In bash, I used to type
curl api.kanye.rest
and it returned a quote. But for the last couple of days, this command does not return a quote.
let me know if you don't want to handle the server load from that - https://github.com/brainburn/kanye_quotes
Awesome idea :)
The readme is a little unclear how to clone to make changes instead of just using the code as a template for workers without having it tied to the repo. You also can't use punctuation in the name. I have a PR coming.
What's the default behavior supposed to be when the accept headers conflict with the format
query? Which one is supposed to take precedent?
My recommendation is removing the format
query param and just relying on accept headers, but if a good default can be decided on and documented I'd be happy to implement that for the project as well.
This is the best thing ever... Please just add more kanye quotes hahahah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.