Giter VIP home page Giter VIP logo

xkcd-api's Introduction

XKCD API

CORS enabled API for the XKCD comic

Latest comic

https://xkcd.now.sh

Comic #1000

https://xkcd.now.sh/1000

Example response (comic #1892)

This is the same exact response that the official XKCD API

{
  "month": "9",
  "num": 1892,
  "link": "",
  "year": "2017",
  "news": "",
  "safe_title": "USB Cables",
  "transcript": "",
  "alt": "Tag yourself, I'm \"frayed.\"",
  "img": "https://imgs.xkcd.com/comics/usb_cables.png",
  "title": "USB Cables",
  "day": "20"
}

Run in Postman

Made by ZΞ›NDΞR ⚑ by using Micro & hosted on now by zeit

xkcd-api's People

Contributors

mrmartineau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xkcd-api's Issues

Internal Server Error

Hi,

The API does not seem to be working. I am getting a 500 when I try call the API.

image

Update repo with newest code and documentation

xkcd.now.sh currently returns the following:

XKCD API Proxy

Documentation:

However, this repo's README currently lists conflicting endpoints, which yield 404 responses:

Latest comic

https://xkcd.now.sh

Comic #1000

https://xkcd.now.sh/1000

Perhaps this repo can be updated with the current project code and documentation for the live API hosted on ZEIT? The endpoints using the comic param seem to work just fine.

I can't see your source code for ZEIT, but I can make a PR for the README if you would like.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.