All Projects β†’ roperzh β†’ medium-sdk-elixir

roperzh / medium-sdk-elixir

Licence: MIT license
Elixir SDK for the Medium.com API. 🌐

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to medium-sdk-elixir

laravel-medium-sdk
Laravel Service Provider for Medium's SDK for PHP.
Stars: ✭ 20 (+5.26%)
Mutual labels:  medium, medium-api
React-Medium-Blog
React blog page which consist of last ten medium posts. The blog card is created using shards React and React application.
Stars: ✭ 14 (-26.32%)
Mutual labels:  medium, medium-api
medium-toc
Easily create a table of contents for your Medium articles in just one click. ✨
Stars: ✭ 33 (+73.68%)
Mutual labels:  medium
medium
Usando a api do medium pra ler artigos e exibir o html
Stars: ✭ 33 (+73.68%)
Mutual labels:  medium
python-telegram-bot-heroku-example
Repository for Medium article about creating a Telegram bot in Python and deploying it on Heroku
Stars: ✭ 13 (-31.58%)
Mutual labels:  medium
medium-scrapper
Scrap Medium Articles using tags.
Stars: ✭ 34 (+78.95%)
Mutual labels:  medium
Articles-Bookmarked
No description or website provided.
Stars: ✭ 30 (+57.89%)
Mutual labels:  medium
rawr
Extract raw R code directly from webpages, including Github, Kaggle, Stack Overflow, and sites made using Blogdown.
Stars: ✭ 15 (-21.05%)
Mutual labels:  medium
medium-to-markdown
Converts Medium posts to markdown.
Stars: ✭ 68 (+257.89%)
Mutual labels:  medium
medium-code
A place to store my jupyter notebooks for my medium articles
Stars: ✭ 27 (+42.11%)
Mutual labels:  medium
eve
πŸ‘» everyday explore, Github / HackNews / V2EX / Medium / Product Hunt.
Stars: ✭ 13 (-31.58%)
Mutual labels:  medium
MediumUnlimited
Android App written with Flutter/Dart to navigate medium.com without limitations.
Stars: ✭ 28 (+47.37%)
Mutual labels:  medium
indices
Indices creates a Table of Contents sidebar for Medium articles, and enables you to skip around
Stars: ✭ 16 (-15.79%)
Mutual labels:  medium
nasa-react-redux
Guide: Build a React + Redux app
Stars: ✭ 28 (+47.37%)
Mutual labels:  medium
BottomNavArchDemo
The demo project for Bottom Navigation with Navigation Architecture Components article
Stars: ✭ 53 (+178.95%)
Mutual labels:  medium
aws-secure-websockets
Secure web socket implementation using AWS products and serverless framework
Stars: ✭ 49 (+157.89%)
Mutual labels:  medium
codeblock-beautifier
πŸ’… A chrome extension for highlighting codes of Medium Articles
Stars: ✭ 118 (+521.05%)
Mutual labels:  medium
hosts
θ‡ͺεŠ¨η”Ÿζˆ Hosts ζ–‡δ»ΆοΌŒη§‘ε­¦δΈŠη½‘
Stars: ✭ 30 (+57.89%)
Mutual labels:  medium
blog-template
Template for the Jekyll-powered elementary blog
Stars: ✭ 34 (+78.95%)
Mutual labels:  medium
github-readme-medium
πŸ“– Dynamically generated your latest Medium article on your GitHub readmes!
Stars: ✭ 56 (+194.74%)
Mutual labels:  medium

Build Status Coverage Status Hex.pm

Medium SDK for Elixir

An Elixir SDK for the Medium.com API.

Installation

If available in Hex, the package can be installed as:

  1. Add medium to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:medium, "~> 0.2"}]
end
```
  1. Ensure medium is started before your application:
```elixir
def application do
  [applications: [:medium]]
end
```

Usage

Since all Medium requests must be made with an integration token, you need to create a new client associated with that token in order to perform requests:

client = Medium.client("my-access-token")

With our client at hand, we can start making requests to the API! πŸ’₯

# We can perform all GET requests described on the API:
user = Medium.me(client)
user_publications = Medium.publications(client, user.id)

# And we can also publish:
post = %{
  title: "Liverpool FC",
  content_format: "html",
  content: "<h1>Liverpool FC</h1><p>You’ll never walk alone.</p>",
  canonical_url: "http://jamietalbot.com/posts/liverpool-fc",
  tags: ["football", "sport", "Liverpool"],
  publish_status: "public"
}

response = Medium.publish(client, user.id, post)

Don't forget to check the Medium API or the documentation to see all available methods.

Roadmap

  • Improve the documentation
  • Improve the test suite
  • Remove the Tesla dependency

Licence

All the code contained in this repository, unless explicitly stated, is licensed under an MIT license.

A copy of the license can be found in the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].