Skip to content

ImportError: cannot import name 'NOWPaymentsSandbox' from 'nowpayments' #15

@sonn-gamm

Description

@sonn-gamm

Hi! Thanks for your library.

It seems that following the README and importing NOWPaymentsSandbox from nowpayments is not possible.

If I do print(dir(nowpayments)) I see NOWPayments but not NOWPaymentsSandbox. I am temporarily overriding an instance of NOWPayments by changing the two fields as in here https://github.com/Ventura94/NOWPayments-Python-API/blob/main/nowpayments/sandbox.py#L13-L14 for the time being.

It would be nice if either the Sandbox import would work, or you would update the README to reflect the code.

Thanks!

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