{"id":18470844,"url":"https://github.com/inria/mooc-accessibility-api","last_synced_at":"2026-04-30T10:04:44.004Z","repository":{"id":50181612,"uuid":"218525101","full_name":"INRIA/mooc-accessibility-api","owner":"INRIA","description":"Inria MOOC Accessibilité Numérique API","archived":false,"fork":false,"pushed_at":"2021-06-02T00:42:41.000Z","size":38,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T14:04:44.438Z","etag":null,"topics":["api","flask","python36"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/INRIA.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-30T12:43:08.000Z","updated_at":"2022-01-26T22:09:45.000Z","dependencies_parsed_at":"2022-09-04T04:50:10.055Z","dependency_job_id":null,"html_url":"https://github.com/INRIA/mooc-accessibility-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/INRIA/mooc-accessibility-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INRIA%2Fmooc-accessibility-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INRIA%2Fmooc-accessibility-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INRIA%2Fmooc-accessibility-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INRIA%2Fmooc-accessibility-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/INRIA","download_url":"https://codeload.github.com/INRIA/mooc-accessibility-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INRIA%2Fmooc-accessibility-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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","flask","python36"],"created_at":"2024-11-06T10:15:00.243Z","updated_at":"2026-04-30T10:04:43.976Z","avatar_url":"https://github.com/INRIA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inria Digital Accessibility MOOC API\n\nThis web application handles Inria MOOC Accessibility web player events. Its\nmain purpose is to act as a gateway between the web client and an\n[ElasticSearch](https://www.elastic.co/products/elasticsearch) server.\n\n## Requirements\n\n- [python](https://www.python.org) `=3.6`\n- [Pipenv](https://pipenv.kennethreitz.org/en/latest/)\n\n## Installation\n\n```sh\npipenv install\n```\n\nFor development purpose, you also should install additional packages:\n\n```sh\npipenv install --dev\n```\n\nThe application assumes ElasticSearch is used to save records. If no\nElasticSearch server can be found, it will just output errors and return `500`\nerrors.\n\nMost straightforward installation requires Docker. Just `cd` into the\napplication directory and run `docker-compose up`.  \nRunning this command will start an ElasticSearch server on\n`http://localhost:9200` and a Kibana instance on `http://localhost:5601` to\nvisualize events.\n\n### Linting\n\n```sh\npipenv run lint # runs pycodestyle\npipenv run lint_fix # fixes malformed code\n```\n\n## Run the application\n\n### Development\n\n```sh\ncd /path/to/mooc-accessibility-api\npipenv run serve_dev\n```\n\nApplication will be served through built-in Flask server on port `3001`.\n\n### Production\n\n[Gunicorn](https://gunicorn.org/) is provided as a dependency, and should be the\nprefered way to serve the application in production.\n\n```sh\n# numbers of workers depend on the machine hosting the application\npipenv run gunicorn --workers=3 --bind=127.0.0.1:8000 wsgi:application\n```\n\n### Note About Logging\n\nLogs are written to `STDERR` and `STDOUT`. This can be overridden by configuring\nthe wsgi app container.\n\n### Environment Variables\n\nThe `.env` file hosts a few variables you may need to change before running the\napplication.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finria%2Fmooc-accessibility-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finria%2Fmooc-accessibility-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finria%2Fmooc-accessibility-api/lists"}