{"id":31642308,"url":"https://github.com/ashstevens-dev/drupal-8-custom-jokes-api-block-module","last_synced_at":"2025-10-07T03:58:10.834Z","repository":{"id":318263339,"uuid":"312438206","full_name":"ashstevens-dev/drupal-8-custom-jokes-api-block-module","owner":"ashstevens-dev","description":"Drupal 8 Custom Module which creates a block that pulls in \u0026 outputs data from the Jokes API. Block allows control over number of jokes displayed.","archived":false,"fork":false,"pushed_at":"2020-11-13T01:54:31.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T06:49:13.077Z","etag":null,"topics":["api","drupal-8","drupal-module","drupal8","fetch-api","javascript-api"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ashstevens-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-13T01:16:28.000Z","updated_at":"2020-11-13T01:54:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ashstevens-dev/drupal-8-custom-jokes-api-block-module","commit_stats":null,"previous_names":["ashstevens-dev/drupal-8-custom-jokes-api-block-module"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ashstevens-dev/drupal-8-custom-jokes-api-block-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashstevens-dev","download_url":"https://codeload.github.com/ashstevens-dev/drupal-8-custom-jokes-api-block-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717449,"owners_count":26033542,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","drupal-8","drupal-module","drupal8","fetch-api","javascript-api"],"created_at":"2025-10-07T03:58:09.196Z","updated_at":"2025-10-07T03:58:10.827Z","avatar_url":"https://github.com/ashstevens-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drupal-8-custom-jokes-api-block-module\nDrupal 8 Custom Module which creates a block that pulls in and displays data from the Jokes API. The block allows you to control how many jokes you would like to display.\n\n## Installation\nCreate a ``custom`` directory in the ``modules`` directory for your Drupal 8 website if you don't have one already. Place this ``jokes_api`` directory inside. Enable the module like you would any other module (it will show under ``Custom`` in the list on the modules page (Extend)).\n\n## Configuration\nPlace the block in the region you'd like it to show - it will be called ``Jokes API block`` in the list. In the Output Limit field, type in how many jokes you would like to display in the block.\n\n## :sparkles: Moving on\nThis is an example to show how you can create a simple custom module in Drupal 8 and how you can integrate an API's fetched data inside of a block. It can be easily expanded on and modified for other applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashstevens-dev%2Fdrupal-8-custom-jokes-api-block-module/lists"}