email_octopus
Version, currently 0.1.03 versions
- 0.3.0latestOct 18, 2025
- 0.2.0not indexedNov 14, 2025
- 0.1.0not indexedNov 14, 2025
github.com/flucksite/email_octopus
A Crystal wrapper for the EmailOctopus.com API.
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
email_octopus:
github: flucksite/email_octopus
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
email_octopus
A Crystal wrapper for the EmailOctopus AI.
Note The original repository is hosted at https://codeberg.org/fluck/email_octopus.
Installation
- Add the dependency to your
shard.yml:
dependencies:
email_octopus:
codeberg: fluck/email_octopus
- Run
shards install
Usage
Add the shard to your app:
require "email_octopus"
Subscribe a user to an existing list:
contact = EmailOctopus::Contact.create_or_update(
list_id: "00000000-0000-0000-0000-000000000000",
email_address: "otto@example.com",
tags: {
"early-bird" => true
},
)
This will expect the EMAIL_OCTOPUS_API_KEY env var to be set. Alternatively,
you can create a client explicitly:
@client = EmailOctopus::Client.new("eo_api_key")
And pass in the client along with the other arguments:
contact = EmailOctopus::Contact.create_or_update(
list_id: "00000000-0000-0000-0000-000000000000",
email_address: "otto@example.com",
client: @client,
)
To-do
This shard is still a work in progress and far from feature complete. The basics are there to make API calls, but not all resources are implemented yet.
- [X] Client with authentication
- [X] Exceptions
- [ ] Reties for rate limiting
- [ ] Pagination
- Automation
- [ ]
postStart an automation for a contact
- [ ]
- Campaign
- [ ]
getGet all Campaigns - [ ]
getGet Campaign - [ ]
getCampaign contact reports - [ ]
getCampaign links report - [ ]
getCampaign summary report
- [ ]
- Contact
- [ ]
getGet contacts - [X]
putCreate or update contact - [ ]
postCreate contact - [ ]
putUpdate multiple list contacts - [ ]
getGet contact - [ ]
putUpdate contact - [ ]
deleteDelete contact
- [ ]
- Field
- [ ]
postCreate field - [ ]
putUpdate field - [ ]
deleteDelete field
- [ ]
- List
- [ ]
getGet all lists - [ ]
postCreate list - [ ]
getGet list - [ ]
putUpdate list - [ ]
deleteDelete list
- [ ]
- Tag
- [ ]
getGet all tags - [ ]
postCreate tag - [ ]
putUpdate tag - [ ]
deleteDelete tag
- [ ]
I will complete the work over the following months, but if you feel inclined to help out, I'll happily accept PRs.
Contributing
- Fork it (https://codeberg.org/fluck/email_octopus/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Wout - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Nov 14, 2025
- Commit
33d2d7e55e54- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/flucksite/email_octopus
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 3