{"id":13748868,"url":"https://github.com/adampax/TiStarWars","last_synced_at":"2025-05-09T11:31:32.080Z","repository":{"id":143458982,"uuid":"87859023","full_name":"adampax/TiStarWars","owner":"adampax","description":"Example of using JavaScript Promises in Appcelerator Titanium","archived":false,"fork":false,"pushed_at":"2017-05-05T14:18:14.000Z","size":7200,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-09T08:54:11.988Z","etag":null,"topics":["appcelerator","appcelerator-titanium","javascript","promises","star-wars","titanium"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adampax.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}},"created_at":"2017-04-10T21:24:13.000Z","updated_at":"2019-07-11T14:34:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"9736d12d-ee0b-4e21-a50b-08c4c263f419","html_url":"https://github.com/adampax/TiStarWars","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/adampax%2FTiStarWars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampax%2FTiStarWars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampax%2FTiStarWars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampax%2FTiStarWars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adampax","download_url":"https://codeload.github.com/adampax/TiStarWars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253240350,"owners_count":21876593,"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":["appcelerator","appcelerator-titanium","javascript","promises","star-wars","titanium"],"created_at":"2024-08-03T07:00:51.152Z","updated_at":"2025-05-09T11:31:30.241Z","avatar_url":"https://github.com/adampax.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# TiStarWars\n\nThis is an example project demonstrating the use of JavaScript Promises inside of an Appcelerator\nTitanium Project. More info:\n\n[TiStarWars - The Force Reawakens](http://adampaxton.com/tistarwars-fetching-data-from-an-api-in-appcelerator-titanium/)\n\n[Using Promises in Appcelerator](http://adampaxton.com/using-javascript-promises-in-appcelerator-titanium/)\n\n![TiStarWars screenshot](https://i1.wp.com/adampaxton.com/wp-content/uploads/2017/05/TiStarWarsNexus-main.jpg?resize=576%2C1024 \"TiStarWars\")\n\n## Data\nIs uses the super-fun [Star Wars API](http://swapi.co/) for data.\n\nThis is an example response from [http://swapi.co/api/films/1/](http://swapi.co/api/films/1/)\n\n~~~\n{\n    \"title\": \"A New Hope\", \n    \"episode_id\": 4, \n    \"opening_crawl\": \"It is a period of civil war.\\r\\nRebel spaceships, striking\\r\\nfrom a hidden base, have won\\r\\ntheir first victory against\\r\\nthe evil Galactic Empire.\\r\\n\\r\\nDuring the battle, Rebel\\r\\nspies managed to steal secret\\r\\nplans to the Empire's\\r\\nultimate weapon, the DEATH\\r\\nSTAR, an armored space\\r\\nstation with enough power\\r\\nto destroy an entire planet.\\r\\n\\r\\nPursued by the Empire's\\r\\nsinister agents, Princess\\r\\nLeia races home aboard her\\r\\nstarship, custodian of the\\r\\nstolen plans that can save her\\r\\npeople and restore\\r\\nfreedom to the galaxy....\", \n    \"director\": \"George Lucas\", \n    \"producer\": \"Gary Kurtz, Rick McCallum\", \n    \"release_date\": \"1977-05-25\", \n    \"characters\": [\n        \"http://swapi.co/api/people/1/\", \n        \"http://swapi.co/api/people/2/\", \n        \"http://swapi.co/api/people/3/\", \n        \"http://swapi.co/api/people/4/\", \n        \"http://swapi.co/api/people/5/\", \n        \"http://swapi.co/api/people/6/\", \n        \"http://swapi.co/api/people/7/\", \n        \"http://swapi.co/api/people/8/\", \n        \"http://swapi.co/api/people/9/\", \n        \"http://swapi.co/api/people/10/\", \n        \"http://swapi.co/api/people/12/\", \n        \"http://swapi.co/api/people/13/\", \n        \"http://swapi.co/api/people/14/\", \n        \"http://swapi.co/api/people/15/\", \n        \"http://swapi.co/api/people/16/\", \n        \"http://swapi.co/api/people/18/\", \n        \"http://swapi.co/api/people/19/\", \n        \"http://swapi.co/api/people/81/\"\n    ], \n    \"planets\": [\n        \"http://swapi.co/api/planets/2/\", \n        \"http://swapi.co/api/planets/3/\", \n        \"http://swapi.co/api/planets/1/\"\n    ], \n    \"starships\": [\n        \"http://swapi.co/api/starships/2/\", \n        \"http://swapi.co/api/starships/3/\", \n        \"http://swapi.co/api/starships/5/\", \n        \"http://swapi.co/api/starships/9/\", \n        \"http://swapi.co/api/starships/10/\", \n        \"http://swapi.co/api/starships/11/\", \n        \"http://swapi.co/api/starships/12/\", \n        \"http://swapi.co/api/starships/13/\"\n    ], \n    \"vehicles\": [\n        \"http://swapi.co/api/vehicles/4/\", \n        \"http://swapi.co/api/vehicles/6/\", \n        \"http://swapi.co/api/vehicles/7/\", \n        \"http://swapi.co/api/vehicles/8/\"\n    ], \n    \"species\": [\n        \"http://swapi.co/api/species/5/\", \n        \"http://swapi.co/api/species/3/\", \n        \"http://swapi.co/api/species/2/\", \n        \"http://swapi.co/api/species/1/\", \n        \"http://swapi.co/api/species/4/\"\n    ], \n    \"created\": \"2014-12-10T14:23:31.880000Z\", \n    \"edited\": \"2015-04-11T09:46:52.774897Z\", \n    \"url\": \"http://swapi.co/api/films/1/\"\n}\n~~~\n\n## License\n\nMIT\n## About\n* [Adam Paxton](http://twitter.com/adampax)\n* [Polanco Media, LLC](http://polancomedia.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadampax%2FTiStarWars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadampax%2FTiStarWars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadampax%2FTiStarWars/lists"}