{"action":"created","issue":{"url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/2","labels_url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/2/comments","events_url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/2/events","html_url":"https://github.com/adrianborkowski/apod_pocket/pull/2","id":112898672,"number":2,"title":"stałe","user":{"login":"radekstasiak","id":8572691,"avatar_url":"https://avatars.githubusercontent.com/u/8572691?v=3","gravatar_id":"","url":"https://api.github.com/users/radekstasiak","html_url":"https://github.com/radekstasiak","followers_url":"https://api.github.com/users/radekstasiak/followers","following_url":"https://api.github.com/users/radekstasiak/following{/other_user}","gists_url":"https://api.github.com/users/radekstasiak/gists{/gist_id}","starred_url":"https://api.github.com/users/radekstasiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekstasiak/subscriptions","organizations_url":"https://api.github.com/users/radekstasiak/orgs","repos_url":"https://api.github.com/users/radekstasiak/repos","events_url":"https://api.github.com/users/radekstasiak/events{/privacy}","received_events_url":"https://api.github.com/users/radekstasiak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T21:48:15Z","updated_at":"2015-10-22T21:54:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adrianborkowski/apod_pocket/pulls/2","html_url":"https://github.com/adrianborkowski/apod_pocket/pull/2","diff_url":"https://github.com/adrianborkowski/apod_pocket/pull/2.diff","patch_url":"https://github.com/adrianborkowski/apod_pocket/pull/2.patch"},"body":"ziomeczku, 6 linijka tam gdzie wolasz url to nie powienies uzywac DEMO_KEY,\r\n\r\npublic static final String NASA_API_KEY=\"7DHPawbYZdAk5NHgIeA7EwtslTeWEdxrQUsNcwUU\";\r\n\r\ntą cytowaną zawartość sobie przeklej i najlepiej stwórz taką stałą w odzielnym pliku, \r\ncałego urla tak sobie rozbij, jak np. ja mam \r\n\r\npublic class Constants {\r\n    public static final String NASA_API_URL=\"https://api.nasa.gov/planetary\";\r\n    public static final String NASA_API_FORMAT=\"JSON\";\r\n    public static final String NASA_API_KEY=\"7DHPawbYZdAk5NHgIeA7EwtslTeWEdxrQUsNcwUU\";\r\n    public static final int NASA_API_RESPONSE_NUMBERY=10;\r\n    public static final String STORAGE_FILENAME = \"apod_list\";\r\n    public static final String NASA_API_APOD=\"/apod?api_key=%1$s&date=%2$s&format=\"+NASA_API_FORMAT;\r\n    public static final String PREF_NAME = \"NASAPref\";\r\n}\r\n\r\nhttps://github.com/adrianborkowski/apod_pocket/blob/master/apod_pocket/settings.py < tutaj to sobie wrzuć jako stałe\r\n\r\nwszystko jest rozbite i potem łatwiej jest zmieniać, elo"},"comment":{"url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/comments/150367113","html_url":"https://github.com/adrianborkowski/apod_pocket/pull/2#issuecomment-150367113","issue_url":"https://api.github.com/repos/adrianborkowski/apod_pocket/issues/2","id":150367113,"user":{"login":"radekstasiak","id":8572691,"avatar_url":"https://avatars.githubusercontent.com/u/8572691?v=3","gravatar_id":"","url":"https://api.github.com/users/radekstasiak","html_url":"https://github.com/radekstasiak","followers_url":"https://api.github.com/users/radekstasiak/followers","following_url":"https://api.github.com/users/radekstasiak/following{/other_user}","gists_url":"https://api.github.com/users/radekstasiak/gists{/gist_id}","starred_url":"https://api.github.com/users/radekstasiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekstasiak/subscriptions","organizations_url":"https://api.github.com/users/radekstasiak/orgs","repos_url":"https://api.github.com/users/radekstasiak/repos","events_url":"https://api.github.com/users/radekstasiak/events{/privacy}","received_events_url":"https://api.github.com/users/radekstasiak/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T21:54:43Z","updated_at":"2015-10-22T21:54:43Z","body":"wrzuć sobie stałe do ustawień"}}