{"id":15787236,"url":"https://github.com/ysig/umbrellapp","last_synced_at":"2025-03-31T17:48:40.358Z","repository":{"id":120701835,"uuid":"102368582","full_name":"ysig/umbrellapp","owner":"ysig","description":"A back-end api using laravell framework (on php), for a supposed user-oriented weather app called \"umbrellapp\".","archived":false,"fork":false,"pushed_at":"2017-09-04T14:44:23.000Z","size":4878,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T21:06:31.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ysig.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-04T14:10:46.000Z","updated_at":"2017-09-11T13:57:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"4bd00236-e75a-486a-b483-d308bb0fe62f","html_url":"https://github.com/ysig/umbrellapp","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/ysig%2Fumbrellapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysig%2Fumbrellapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysig%2Fumbrellapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysig%2Fumbrellapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysig","download_url":"https://codeload.github.com/ysig/umbrellapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246512877,"owners_count":20789796,"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-04T21:06:44.323Z","updated_at":"2025-03-31T17:48:40.329Z","avatar_url":"https://github.com/ysig.png","language":"PHP","readme":"## Umbrellapp reference manual:\n\n### To get, create, delete, update users make the following api calls:\n```php\nUser.fillable.fields = ['Name','e-mail']\nUser.fields = ['User Id', 'Name', 'e-mail']\n```\n\n- Get all Users  \n`GET: '/api/users'`\n\n- Get User by \"User Id\"  \n`GET: '/api/users/{id}'`\n\n- Get User by \"Name\", \"e-mail\"  \n`GET: '/api/users/name/{name}/email/{email}'`\n\n- Create a new User (name,email)  \n`POST: '/api/users'`\n\n- Update a User by Id (name,email)  \n`PUT: '/api/users/{id}'`\n\n- Delete a User by Id  \n`DELETE: '/api/users/{id}'`\n\n- Delete a User by \"Name\", \"e-mail\"  \n`DELETE: '/api/users/name/{name}/email/{email}'`\n\n### To get, create, delete, update cities make the following api calls:\n```php\nCities.fillable.fields = ['City','Country']\nCities.fields = ['City','Country']\n```\n- Check if a city exists (response: 200)  \n`GET: '/api/cities/exists/city/{city}/country/{country}'`\n\n- Create a new city (city,country)  \n`POST: '/api/cities'`\n\n- Delete a city  \n`DELETE: '/api/cities/city/{city}/country/{country}'`\n\n### To get, create, delete, update favorites make the following api calls:\n```php\nFavorites.fillable.fields = ['User','City','Country']\nFavorites.fields = ['User','City','Country']\n```\n- Get all the favorites of a user (by id)  \n`GET: '/api/favorites/{id}'`\n\n- Create new Favorite (user,city,country)  \n`POST: '/api/favorites'`\n\n- Delete all favorites of a user (by id)  \n`DELETE: '/api/favorites/{id}'`\n\n- Delete a certain user favorite (id,city,country)  \n`DELETE: '/api/favorites/{id}/city/{city}/country/{country}'`\n\n### To get, create, delete, update forecasts make the following api calls:\n```php\nForecasts.fillable.fields = ['City','Country','Date','Time','weather','temp_min',temp_max']\nForecasts.fillable.fields = ['City','Country','Date','Time','weather','temp_min',temp_max']\n```\n- Get all forecasts  \n`GET: '/api/forecasts'`\n\n- Get all forecasts for a city  \n`GET: '/api/forecasts/city/{city}/country/{country}'`\n\n- Get all forecast for a certain date  \n`GET: '/api/forecasts/city/{city}/country/{country}/date/{date}'`\n\n- Create new forecast (city,country,date,time,weather\\_type, min\\_temperature, max\\_temperature)  \n`POST: '/api/forecasts'`\n\n- Update a forecast for a city, country, date, time  \n`PUT: '/api/forecasts/city/{city}/country/{country}/date/{date}/time/{time}'`\n\n- Delete a forecast for a city, country, date, time  \n`DELETE: 'forecasts/city/{city}/country/{country}/date/{date}/time/{time}'`\n\n## Entity relation Diagram:\n![Entity Relation Diagram](./ER.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysig%2Fumbrellapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysig%2Fumbrellapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysig%2Fumbrellapp/lists"}