Medium SDK for Elixir alternatives and similar packages
Based on the "Third Party APIs" category.
Alternatively, view Medium SDK for Elixir alternatives based on common mentions on social networks and blogs.
-
google-cloud
Elixir client libraries for accessing Google APIs. -
gringotts
A complete payment library for Elixir and Phoenix Framework -
ethereumex
Elixir JSON-RPC client for the Ethereum blockchain -
statix
Fast and reliable Elixir client for StatsD-compatible servers -
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS. -
commerce_billing
A payment processing library for Elixir -
sendgrid
Create and send composable emails with Elixir and SendGrid. -
mailchimp
A basic Elixir wrapper for version 3 of the MailChimp API -
telegex
Telegram bot framework and API client written in Elixir -
sparkpost
SparkPost client library for Elixir https://developers.sparkpost.com -
diplomat
Elixir library for interacting with Google's Cloud Datastore -
elixtagram
:camera: Instagram API client for the Elixir language (elixir-lang) -
forcex
Elixir library for the Force.com / Salesforce / SFDC REST API -
google_sheets
Elixir library for fetching Google Spreadsheet data in CSV format -
pay_pal
:money_with_wings: PayPal REST API client for the Elixir language (elixir-lang) -
amazon_product_advertising_client
An Amazon Product Advertising API client for Elixir -
cashier
Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP -
elixir_ipfs_api
The Elixir library that is used to communicate with the IPFS REST endpoint. -
dogstatsd
An Elixir client for DogStatsd https://www.datadoghq.com/ -
ExTrello
An Elixir library for interfacing with the Trello API
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of Medium SDK for Elixir or a related project?
README
Medium SDK for Elixir
An Elixir SDK for the Medium.com API.
Installation
If available in Hex, the package can be installed as:
Add
medium
to your list of dependencies inmix.exs
:def deps do [{:medium, "~> 0.2"}] end
Ensure
medium
is started before your application: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! :boom:
# 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](LICENSE) file.
*Note that all licence references and agreements mentioned in the Medium SDK for Elixir README section above
are relevant to that project's source code only.