Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Base URL for API endpoints has changed? #53

Description

@telefunkst

It seems like the URL set in MAILERLITE_API_V2_URL is no longer correct: https://api.mailerlite.com/api/v2/
Mailerlite API documentation suggests using https://connect.mailerlite.com

I am having issues with creating a campaign, and I believe this is the cause. Perhaps MAILERLITE_API_V2_URL should be updated?

Activity

  1. skoudoro commented on Oct 22, 2022

    @skoudoro
    Owner

    Hi @telefunkst,

    Good catch! Thank you for letting me know! I will update that tomorrow and do a new release.
    It seems they made a big update on the developer website. I need to update other link also.

    Thanks !

    Ps: feel free to contribute and make a PR if you have time to do it today

  2. skoudoro commented on Oct 25, 2022

    @skoudoro
    Owner

    Hi @telefunkst,

    After doing some tests, I realized that the current url is working correctly.

    it seems they renamed the API and this one is not anymore the V2 but the V1 / V2_BETA.

    So I will just rename it and try to add the new V2 API on this project.

    Thanks again, closing for now

  3. telefunkst commented on Oct 25, 2022

    @telefunkst
    Author

    Hi @skoudoro ,
    The problem that prompted my raising this issue was the fact that the method to get the campaigns, as described in the mailerlite-api-python documentation, doesn't work:

    >>> all_campaigns = api.campaigns.all()
    >>> draft = api.compaings.all(status='draft')

    My assumption is still that this is related to endpoints changes, because using this method results in {"error":{"message":"Endpoint not found"}}

  4. skoudoro commented on Oct 25, 2022

    @skoudoro
    Owner

    ok, it seems they broke the old version and the new one is not ready and use sometimes the old version. it is messy.

    We are not the only one encountering this problem as you can see on this issue: jpalumickas/mailerlite-ruby#38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions