{"id":16858954,"url":"https://github.com/ross/utransit-old","last_synced_at":"2025-03-18T14:08:41.320Z","repository":{"id":8739312,"uuid":"10415580","full_name":"ross/utransit-old","owner":"ross","description":"Proof-of-concept/API demo for a universal multi-region transit data api including scheduling and real-time data.","archived":false,"fork":false,"pushed_at":"2013-06-09T17:12:54.000Z","size":256,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T19:37:58.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mitijain123/spree_feeds","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ross.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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":"2013-06-01T00:39:26.000Z","updated_at":"2021-09-19T15:14:38.000Z","dependencies_parsed_at":"2022-09-03T06:30:29.167Z","dependency_job_id":null,"html_url":"https://github.com/ross/utransit-old","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/ross%2Futransit-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ross%2Futransit-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ross%2Futransit-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ross%2Futransit-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ross","download_url":"https://codeload.github.com/ross/utransit-old/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236080,"owners_count":20420759,"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":[],"created_at":"2024-10-13T14:15:43.033Z","updated_at":"2025-03-18T14:08:41.302Z","avatar_url":"https://github.com/ross.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"utransit\n########\n\nProof-of-concept/API demo for a universal multi-region transit data api\nincluding scheduling and real-time data.\n\nIf you would like to test out a server that may or may not be up/accessible at\nany given time you can visit http://demo.xormedia.com/api/ and log in with the\nusername demo and the password demo566.\n\nIf you would like to run your own instance the following should get you\nstarted.\n\n===============\nGetting Started\n===============\n\n.. code-block:: shell\n\n    git clone https://github.com/ross/utransit.git\n    cd utransit\n    virtualenv env\n    source env/bin/activate\n    pip install -r requirements.txt -r requirements-dev.txt\n\n.. code-block:: python\n\n    # create a new file, creds.py, and open it in your editor, adding the\n    # folowing line to it\n    API_KEY_ONE_BUS_AWAY_SEA = '\u003cyour-sea-api-key\u003e'\n    # talk a look at the API_KEY variable in www/settings/base.py for other\n    # possible providers/values\n\n.. code-block:: shell\n\n    export ENV=dev\n    ./manage.py syncdb\n    ./manage.py runserver\n\nOpen http://localhost:8000/adm/ in your browser and sign in with the admin\naccount your created during the syncdb step. Note that the workflow for a lot\nof this could be automated, but hasn't been (yet.)\n\nGo to the Region section and add a new region.\n    \n.. code-block:: text\n\n    id sea\n    name Seattle Area\n    sign SEA\n\nThen go to the Agency section and add a new agency.\n\n.. code-block:: text\n\n    region, select SEA from the drop down\n    id sea:1\n    name Metro Transit\n    sign METRO\n    provider, select OneBusAwaySea\n    ...\n\n.. code-block:: shell\n\n    ./manage.py shell\n\n.. code-block:: python\n\n    from www.clients import sync_agency\n    from www.info.models import Agency\n\n    sync_agency(Agency.objects.get(pk='sea:1')\n    # a bunch of debug logging will fly by as the agencies data is synced\n\nOpen http://localhost:8000/api/ in your browser and log in using your admin\naccount. You should now see your region and after clicking it your agency, etc.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fross%2Futransit-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fross%2Futransit-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fross%2Futransit-old/lists"}