{"id":16941930,"url":"https://github.com/thesmartnik/medium_api_udemy","last_synced_at":"2026-05-17T11:31:40.634Z","repository":{"id":99421331,"uuid":"422506791","full_name":"TheSmartnik/medium_api_udemy","owner":"TheSmartnik","description":"Ruby api wrapper for medium.com","archived":false,"fork":false,"pushed_at":"2021-10-29T08:55:50.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T04:04:07.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/TheSmartnik.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":"2021-10-29T08:53:49.000Z","updated_at":"2021-10-29T08:55:53.000Z","dependencies_parsed_at":"2023-04-17T00:47:15.378Z","dependency_job_id":null,"html_url":"https://github.com/TheSmartnik/medium_api_udemy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheSmartnik/medium_api_udemy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmedium_api_udemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmedium_api_udemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmedium_api_udemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmedium_api_udemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmartnik","download_url":"https://codeload.github.com/TheSmartnik/medium_api_udemy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartnik%2Fmedium_api_udemy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33136674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-13T21:10:43.623Z","updated_at":"2026-05-17T11:31:40.619Z","avatar_url":"https://github.com/TheSmartnik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediumApi\n\nA ruby api wrapper for medium.com\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'medium_api'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install medium_api\n\n## Usage\n\nFirst, you need api key. To do this email yourfriends@medium.com. For more info checkout [official docs](https://github.com/Medium/medium-api-docs#22-self-issued-access-tokens)\n\n### Configure the gem\n```ruby\nMediumApi.configure do |config|\n  config.api_key = ''\nend\n```\n\n### Get current user\n```ruby\nMediumApi.me\n```\n\n### Create a post for current user\n```ruby\nMediumApi.me.create_post(post_attributes)\n```\n\n\n### Get publications for current user\n```\nMediumApi.me.publications\n```\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/thesmartnik/medium_api_udemy\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartnik%2Fmedium_api_udemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmartnik%2Fmedium_api_udemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartnik%2Fmedium_api_udemy/lists"}