{"id":15430617,"url":"https://github.com/alexweininger/joke-api","last_synced_at":"2026-02-22T09:03:48.321Z","repository":{"id":31067600,"uuid":"126770379","full_name":"alexweininger/joke-api","owner":"alexweininger","description":"Azure serverless joke api","archived":false,"fork":false,"pushed_at":"2022-12-08T10:03:43.000Z","size":132,"stargazers_count":3,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T06:16:35.485Z","etag":null,"topics":["api","azure","azure-functions","database","demo","functions-as-a-service","javascript","microsoft","serverless"],"latest_commit_sha":null,"homepage":"https://joke-api.azurewebsites.net/api/joke/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexweininger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-26T03:49:46.000Z","updated_at":"2023-08-14T14:07:22.000Z","dependencies_parsed_at":"2023-01-14T18:16:40.086Z","dependency_job_id":null,"html_url":"https://github.com/alexweininger/joke-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexweininger%2Fjoke-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexweininger%2Fjoke-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexweininger%2Fjoke-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexweininger%2Fjoke-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexweininger","download_url":"https://codeload.github.com/alexweininger/joke-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249743268,"owners_count":21319087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","azure","azure-functions","database","demo","functions-as-a-service","javascript","microsoft","serverless"],"created_at":"2024-10-01T18:17:38.562Z","updated_at":"2026-02-22T09:03:48.279Z","avatar_url":"https://github.com/alexweininger.png","language":"JavaScript","readme":"# Joke API\n\nAn API for jokes!  This API is primarily for getting a random joke from a growing list of jokes hosted here.  The API uses Azure functions.  Got funny jokes?  See how to submit your jokes down below!\n\n## API Endpoints\n\n### Get a random joke\n\n[https://joke-api.azurewebsites.net/api/joke/](https://joke-api.azurewebsites.net/api/joke/)\n\nreturns\n\n```javascript\n{\n  \"id\": 56,\n  \"type\": \"programming\",\n  \"setup\": \"How do you check if a webpage is HTML5?\",\n  \"punchline\": \"Try it out on Internet Explorer\"\n}\n```\n\n### Get a random joke of a specific type\n\n\u003chttps://joke-api.azurewebsites.net/api/joke/?joketype=programming\u003e\ntypes of jokes: general, programming, knock-knock (feel free to add jokes outside of these types)\n\n## Contributing a joke\n\nSubmit a Pull Request, with your joke added to the jokes/index.json file. Be sure to use this format when adding your joke:\n\n```javascript\n{\n  \"id\": \u003cone higher than the previous joke\u003e,\n  \"type\": \"your joke's type\",\n  \"setup\": \"your joke's setup line\",\n  \"punchline\": \"your joke's punchline\"\n}\n```\n\n### Saying hello\n\nAs a super simple example, this function simple appends returns `Hello + name`.\n\n\u003chttps://joke-api.azurewebsites.net/api/hello/?name=Alex\u003e\n\nreturns\n\n```text\nHello Alex\n```\n\n## Built With\n\n* [Azure functions](https://docs.microsoft.com/en-us/azure/azure-functions/) - Cloud service, highly recommended\n* [Node.js](https://nodejs.org/en/docs/) - Serverside scripting (in Azure)\n\n## Installing\n\ncoming soon\n\n## Acknowledgments\n\n* Inspired by [this repository](https://github.com/15Dkatz/official_joke_api).\n* jokes gathered from all around the web\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/alexweininger/joke-api/blob/master/LICENSE) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexweininger%2Fjoke-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexweininger%2Fjoke-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexweininger%2Fjoke-api/lists"}