Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liftitapp/pubnux
Elixir PubNub SDK
https://github.com/liftitapp/pubnux
elixir pubnub
Last synced: about 1 month ago
JSON representation
Elixir PubNub SDK
- Host: GitHub
- URL: https://github.com/liftitapp/pubnux
- Owner: Liftitapp
- Created: 2017-05-11T20:30:30.000Z (over 7 years ago)
- Default Branch: development
- Last Pushed: 2018-10-23T17:04:22.000Z (about 6 years ago)
- Last Synced: 2024-09-18T00:53:06.389Z (3 months ago)
- Topics: elixir, pubnub
- Language: Elixir
- Size: 34.2 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PubNux
[![Build Status](https://travis-ci.org/MrCoffey/pubnux.svg?branch=master)](https://travis-ci.org/MrCoffey/pubnux)A wrapper for PubNub's API.
**NOTE**: This is a work in progress and so far only supports message publication. PR are always welcome
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `pubnux` to your list of dependencies in `mix.exs`:```elixir
def deps do
[{:pubnux, git: "https://github.com/MrCoffey/pubnux", branch: master, app: false}]
end
```## Configuration
```elixir
config :pubnux,
publish_key: "your_publication_key",
subscription_key: "your_susbscription_key",
is_ssl: false
```## Usage
```elixir
PubNux.subscribe("channel-name")
```## Contributing
You can run the tests with the following command:
```elixir
mix test
```