{"action":"created","issue":{"url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/2","labels_url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/2/comments","events_url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/2/events","html_url":"https://github.com/nWidart/Laravel-forecast/issues/2","id":93994641,"number":2,"title":"Store all configuration in config file","user":{"login":"borys-p","id":10867553,"avatar_url":"https://avatars.githubusercontent.com/u/10867553?v=3","gravatar_id":"","url":"https://api.github.com/users/borys-p","html_url":"https://github.com/borys-p","followers_url":"https://api.github.com/users/borys-p/followers","following_url":"https://api.github.com/users/borys-p/following{/other_user}","gists_url":"https://api.github.com/users/borys-p/gists{/gist_id}","starred_url":"https://api.github.com/users/borys-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borys-p/subscriptions","organizations_url":"https://api.github.com/users/borys-p/orgs","repos_url":"https://api.github.com/users/borys-p/repos","events_url":"https://api.github.com/users/borys-p/events{/privacy}","received_events_url":"https://api.github.com/users/borys-p/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-09T08:54:44Z","updated_at":"2015-08-02T14:57:05Z","closed_at":"2015-08-02T14:57:05Z","body":"Hi,\r\n\r\nCurrently this library is a thin wrapper around forecast-php and stores only the API_KEY in config file. Still we have to pass all the extra params in the runtime (like \"lang\", \"units\", etc.). It would be great to have them all in the config file and use this library fully \"the Laravel way\", like:\r\n\r\n```\r\npublic function index(Forecast $forecast)\r\n{\r\n    $data = $forecast->get(53.1194,18.0044);  // or get(lat, lng, time)\r\n    // (...)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/comments/127032401","html_url":"https://github.com/nWidart/Laravel-forecast/issues/2#issuecomment-127032401","issue_url":"https://api.github.com/repos/nWidart/Laravel-forecast/issues/2","id":127032401,"user":{"login":"nWidart","id":882397,"avatar_url":"https://avatars.githubusercontent.com/u/882397?v=3","gravatar_id":"","url":"https://api.github.com/users/nWidart","html_url":"https://github.com/nWidart","followers_url":"https://api.github.com/users/nWidart/followers","following_url":"https://api.github.com/users/nWidart/following{/other_user}","gists_url":"https://api.github.com/users/nWidart/gists{/gist_id}","starred_url":"https://api.github.com/users/nWidart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nWidart/subscriptions","organizations_url":"https://api.github.com/users/nWidart/orgs","repos_url":"https://api.github.com/users/nWidart/repos","events_url":"https://api.github.com/users/nWidart/events{/privacy}","received_events_url":"https://api.github.com/users/nWidart/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T14:57:05Z","updated_at":"2015-08-02T14:57:05Z","body":"It's now possible to set the options globally for every request, in version [2.1](https://github.com/nWidart/Laravel-forecast/releases/tag/2.1)\r\n\r\n"}}