{"id":29740197,"url":"https://github.com/korbin73/flowerpower","last_synced_at":"2025-09-11T13:05:52.935Z","repository":{"id":62429633,"uuid":"43226817","full_name":"Korbin73/FlowerPower","owner":"Korbin73","description":"Elixir api client to parrot's flower power api","archived":false,"fork":false,"pushed_at":"2016-03-16T16:17:17.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-27T17:57:29.262Z","etag":null,"topics":["elixir","parrot-flower"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/Korbin73.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}},"created_at":"2015-09-26T23:22:18.000Z","updated_at":"2016-02-07T05:44:41.000Z","dependencies_parsed_at":"2022-11-01T20:06:45.298Z","dependency_job_id":null,"html_url":"https://github.com/Korbin73/FlowerPower","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Korbin73/FlowerPower","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Korbin73%2FFlowerPower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Korbin73%2FFlowerPower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Korbin73%2FFlowerPower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Korbin73%2FFlowerPower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Korbin73","download_url":"https://codeload.github.com/Korbin73/FlowerPower/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Korbin73%2FFlowerPower/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274640911,"owners_count":25322843,"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-09-11T02:00:13.660Z","response_time":74,"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":["elixir","parrot-flower"],"created_at":"2025-07-25T23:01:28.299Z","updated_at":"2025-09-11T13:05:52.923Z","avatar_url":"https://github.com/Korbin73.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flower Power\n===========\n\nParrot's flower power cloud service api wrapper written in Elixir.\n\nBefore you get started, you will need an oauth token from:\n[parrot api](https://apiflowerpower.parrot.com/api_access/signup)\n\nUsage\n-----------------\n\n1. To get the data from parrot's webservice it simply needs the credentials and a date range. Below\n   are details about the credentials\n\n\t```elixir\n\tcredentials = %{\n\t  \"grant_type\": \"\u003cyou password goes here\u003e\",\n\t  \"username\": \"\u003cusername goes here; likely email address\u003e\",\n\t  \"password\": \"\u003cchosen password\u003e\",\n\t  \"client_id\": \"\u003csame as username\u003e\",\n\t  \"client_secret\": \"\u003cpasscode given when you sign up for parrots api service\u003e\"\n\t}\n\t```\n\tSample use:\n\n\t```elixir\n\tdefmodule App do\n\t\tdef get_yesterdays_date do\n\t\t\tDate.now\n\t\t  |\u003e Date.subtract(Time.to_timestamp(2, :days))\n\t\t  |\u003e DateFormat.format(\"{ISO}\")\n\t\t  |\u003e pluck_date\n\t\tend\n\n\t\tdef get_todays_date do\n\t\t\tDate.now\n\t\t  |\u003e DateFormat.format(\"{ISO}\")\n\t\t  |\u003e pluck_date\n\t\tend\n\t\t\n\t\tdefp pluck_date({:ok, date}), do: date\n\tend\n\n\tFlowerPower.Api.get_garden_data(credentials, App.get_yesterdays_date, App.get_todays_date)\n\n\t```\n\n2. The calculate module provides transformations using the data graph from the service.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorbin73%2Fflowerpower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkorbin73%2Fflowerpower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorbin73%2Fflowerpower/lists"}