{"id":19805672,"url":"https://github.com/remirobert/news-feed-api","last_synced_at":"2025-10-09T20:23:01.979Z","repository":{"id":72989001,"uuid":"77791614","full_name":"remirobert/news-feed-API","owner":"remirobert","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-29T21:32:33.000Z","size":21226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T17:53:59.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/remirobert.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-01-01T18:40:50.000Z","updated_at":"2018-03-06T09:24:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9b0c766-fd05-49fb-a2b0-6dfbf7f7b4cf","html_url":"https://github.com/remirobert/news-feed-API","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.19999999999999996","last_synced_commit":"f4412fb2c43e23c8dd04cffbc30c6174480aeb19"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remirobert/news-feed-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Fnews-feed-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Fnews-feed-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Fnews-feed-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Fnews-feed-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remirobert","download_url":"https://codeload.github.com/remirobert/news-feed-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Fnews-feed-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002015,"owners_count":26083258,"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-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2024-11-12T09:04:54.031Z","updated_at":"2025-10-09T20:23:01.949Z","avatar_url":"https://github.com/remirobert.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API\n\n**base_url** : http://remirobert.com:4242\n\n🔒 : needs to be authentificated, send token on the Header : [RSS-TOKEN:\"token\"]\n\n#Authentification\n\n##Signup\ncreate a new user\n\n  - **Method**     : POST\n  - **route**      : {{base_url}}/signup\n  - **parameters** :\n```json\n{\n  email: \"\",\n  password: \"\"\n}\n```\n  - **response** :\n  \n```json\n  {\n  \"user\": {\n    \"id\": \"397e1d8b-7cd1-43ae-8bbf-4b8ae5defef0\",\n    \"email\": \"user1@gmail.com\",\n    \"password\": \"email\"\n  },\n  \"token\": {\n    \"accessToken\": \"GDRYFXAIATTGEBLP9JX6W03T3IPFX041EA8K8H3KV2898RHO3I0K7Q994C6G64Z0IMPOB2IOE2CZBO1Y6GHD6DD6I0IIHD4GMDOA1XU49LSG99YV48Y5XL7Z92ERB5PSHM7F91OX8BG1YWW0C083SQI929GFVUXMP7HXATNG8AIS5TUPGWRM3J20CGKGM95GFTUY5SORCPYFFKDAKEW4NG43APIQBHZNSSU3ZQX2AMY5JWA2IBJ52AUER858D31X\",\n    \"refreshToken\": \"TUCOC1X9T9YJSNQZMWPAFG6W79L4YSG5LTXJJV5Q41S011HSTFMBMTVCD80V2Z6S05PIOZ5FCM2OBC4HF0F2929ZMPONT50E399Y2O4WT5AGLEV6EY40JN124A81HBJF2IT167M6W7HJXCP32O7XXXRICRLVHHHNN4L126VLID8NEWCLB5MZYIZ6VYK1W0MQPL61BU7S0PGJ5Z7TZR7L79ENSK8JBV7N0T4ZPM2PXXJE6O2VZZDETBEVXNR109TH\",\n    \"expireDate\": \"Wed Jan 11 18:30:43 EST 2017\"\n  }\n}\n```\n \n##Login\nauthentificate user to get access, and refresh token\n\n  - **Method**     : POST\n  - **route**      : {{base_url}}/auth\n  - **parameters** :\n```json\n{\n  email: \"\",\n  password: \"\"\n}\n```\n  - **response**  :\n```json\n {\n  \"accessToken\": \"GS6T805VODRVV964OHTIRQKE65GQF2DGFXV13QLDGR6QR3E1J9ZUZSFUTKC2RRFHF92ANGGATI447867NUCYEZYA253HPYSDC4XQZGNHCL6EG1KS7DGG71ANQCM3DAO5FNNE6E1TAQJ15L7SYHA6J17FRF4AQQ50ORU6RGZAL42ZSZ6KRKTSQLERPW0OQ4UC2180HU5RPBZLL8HFWF8KFILTFX454IQMSS22JRNBTNVCJLEH0WZRNOY2JTVWSND3\",\n  \"refreshToken\": \"RZV1BNCX0O0MUH1YL42HRZIKOHXF0ALRJSJTO4YQR8DUGF6DXZNZCRDHSQDSSF8OF0AEMJSGXKFHJJD7JOWJ3UIGSOUBP4YBW4XDBUZW1EGBCP3VUADP13ITD8PPQ4JZ3KKNH9N7FF1NP60PSD6ME54DHI9B3OLPQCWOYLFHV9UUCOUNCAP9ZFT9E7Y79VDACE93AQM2QF75PRUUOCVB5FX8XEJH1NS57666H0W7D8Q23LQT1MX65UIZ8L4J9G8G\",\n  \"expireDate\": \"Wed Jan 11 18:31:02 EST 2017\"\n}\n```\n\n#Token 🔒\ncall this route to refresh the code\n\n  - **Method**    : POST\n  - **route**     : {{base_url}}/accessToken\n  - **parameters**:\n  ```json\n{\n  refreshToken: \"Y5YGIB25WEVQ9EIZ84AECVC532AF9PI55LXRN0Q69OPDOV0A7S8DPOKPKRJZI3RUYO7K3AYDG4UMIM447BYN1BCNR09F295O1INFDNM43EI6T9LTBSW25XGJBVRVJV8VP6KO0497MCRX666R6DG46N9KDFOUAP7B4FTYADSK3ARCFTTG1QSYZ3TJJ7SCJQ3GJD37J2824YN10EF9KNVURHEU5BE4AI4UF59J0M84SS42GJ511IYRQRMUE7PM2ZNE\"\n}\n```\n  - **response**  :\n```json\n{\n  \"accessToken\": \"POP5QZ67F9XXFD84IAND1SPS7ZDR1VZD4ZW27CCAUH1SP1Y2B9DSXQE7TNJ516RHXIHZD0FS79F4GZRSFP8H03LJPQXBUJJC3E74O4GX5K0WA137CFE06QQQ97USKVEGB0FZZQOUD3Z2OAK0297Z62YUUFBDRNPKZ3GR4UC1RCCZW6ACMUVWSABEV7OAZIOJGMCGQER3DX2VGOMOH7E951P84JFVC1M5YF0ULB3HH5Y2KRV7XKR983M4C2UJ5H2V\",\n  \"expireDate\": \"Wed Jan 11 18:33:33 EST 2017\"\n}\n```\n\n#Categories\nget avalaible categories\n\n  - **Method**    : GET\n  - **route**     : {{base_url}}/categories\n  - **response**  :\n```json\n[\n  {\n    \"id\": \"5876b07d90561225dd044cb2\",\n    \"name\": \"World / U.S. News\"\n  },\n  {\n    \"id\": \"5876b07d90561225dd044cb3\",\n    \"name\": \"Local News\"\n  }\n]\n```\n\n#Feed Source\nget the feed sources for a given categorie\n\n  - **Method**    : GET\n  - **route**     : {{base_url}}/feedSource/{category_id}\n  - **response**  :\n```json\n[\n  {\n    \"id\": \"5881d490abe29785a896d97e\",\n    \"ownerId\": \"cfb67d1f-a752-41db-9d56-3439ae856da2\",\n    \"categoryId\": \"5881d23964f1160a7f99ff74\",\n    \"name\": \"Utah Jazz\",\n    \"url\": \"http://www.nba.com/jazz/rss.xml\",\n    \"language\": null,\n    \"description\": \"Utah Jazz Team News\",\n    \"imageUrl\": null,\n    \"publicationDate\": \"Thu, 19 Jan 2017 08:45:16 -0700\",\n    \"lastBuildDate\": null,\n    \"ttl\": 60\n  }\n]\n```\n\n#News\n🔒 optional, to get user's custom source at the sime time.\nget the news for a given source\n\n  - **Method**    : GET\n  - **route**     : {{base_url}}/news/{source_id}\n  - **response**  :\n```json\n[\n    {\n        \"creator\": \"By MARCIA DUNN\",\n        \"dateCreation\": 1484385773127,\n        \"description\": \"CAPE CANAVERAL, Fla.        (AP) -- The International Space Station\u0026amp;apos;s solar power grid got three more top-of-the-line batteries Friday during the second spacewalk in a week....\",\n        \"guid\": \"http://hosted.ap.org/dynamic/stories/U/US_SCI_SPACE_STATION?SITE=OHLIM\u0026SECTION=HOME\u0026TEMPLATE=DEFAULT\",\n        \"id\": \"5ee96fb5-e857-4245-b5f3-4b73d7a6d30f\",\n        \"link\": \"http://hosted.ap.org/dynamic/stories/U/US_SCI_SPACE_STATION?SITE=OHLIM\u0026SECTION=HOME\u0026TEMPLATE=DEFAULT\",\n        \"pubDate\": \"Fri, 13 Jan 2017 22:49:04 GMT\",\n        \"sourceId\": \"5878030ab23d51a4a9fb3f3d\",\n        \"thumbnail\": null,\n        \"title\": \"Spacewalking astronauts upgrade orbiting lab's power grid\"\n    },\n    {\n        \"creator\": \"By DAVE COLLINS\",\n        \"dateCreation\": 1484385773129,\n        \"description\": \"HARTFORD, Conn.        (AP) -- Keep an eye on the picnic basket. Bear sightings are surging across Connecticut....\",\n        \"guid\": \"http://hosted.ap.org/dynamic/stories/U/US_BEAR_SIGHTINGS?SITE=OHLIM\u0026SECTION=HOME\u0026TEMPLATE=DEFAULT\",\n        \"id\": \"722ece3d-eb58-493e-9847-b99c90d79788\",\n        \"link\": \"http://hosted.ap.org/dynamic/stories/U/US_BEAR_SIGHTINGS?SITE=OHLIM\u0026SECTION=HOME\u0026TEMPLATE=DEFAULT\",\n        \"pubDate\": \"Fri, 13 Jan 2017 19:04:33 GMT\",\n        \"sourceId\": \"5878030ab23d51a4a9fb3f3d\",\n        \"thumbnail\": null,\n        \"title\": \"Watch the picnic basket: Bear sightings surge in Connecticut\"\n    }\n]\n```\n\n#User source\n\n##Get user's source 🔒\n  - **Method**    : GET\n  - **route**     : {{base_url}}/userFeedSource\n  - **response**  :\n```json\n[\n  {\n    \"id\": \"5881d490abe29785a896d97e\",\n    \"ownerId\": \"cfb67d1f-a752-41db-9d56-3439ae856da2\",\n    \"categoryId\": \"5881d23964f1160a7f99ff74\",\n    \"name\": \"Utah Jazz\",\n    \"url\": \"http://www.nba.com/jazz/rss.xml\",\n    \"language\": null,\n    \"description\": \"Utah Jazz Team News\",\n    \"imageUrl\": null,\n    \"publicationDate\": \"Thu, 19 Jan 2017 08:45:16 -0700\",\n    \"lastBuildDate\": null,\n    \"ttl\": 60\n  }\n]\n```\n\n##Delete a user's source 🔒\n  - **Method**    : DELETE\n  - **route**     : {{base_url}}/userFeedSource/{source}\n\n##Post new user feed source 🔒\n  - **Method**     : POST\n  - **route**      : {{base_url}}/userFeedSource/{category}\n  - **parameters** :\n```json\n{\n  url: \"http://www.nba.com/jazz/rss.xml\",\n}\n```\n  - **response** :\n  \n```json\n {\n    \"id\": \"5881d490abe29785a896d97e\",\n    \"ownerId\": \"cfb67d1f-a752-41db-9d56-3439ae856da2\",\n    \"categoryId\": \"5881d23964f1160a7f99ff74\",\n    \"name\": \"Utah Jazz\",\n    \"url\": \"http://www.nba.com/jazz/rss.xml\",\n    \"language\": null,\n    \"description\": \"Utah Jazz Team News\",\n    \"imageUrl\": null,\n    \"publicationDate\": \"Thu, 19 Jan 2017 08:45:16 -0700\",\n    \"lastBuildDate\": null,\n    \"ttl\": 60\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Fnews-feed-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremirobert%2Fnews-feed-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Fnews-feed-api/lists"}