PyNamecheap icon indicating copy to clipboard operation
PyNamecheap copied to clipboard

potential for errors due to inconsistent string case from namecheap's api ?

Open jvanasco opened this issue 7 years ago • 1 comments

While working with this library, I noticed that namecheap doesn't have a standard use of case. Sometimes an attribute is ERROR and other times it is Error. False + false, and OK + Ok are used interchangeably in a few areas too.

I don't know how stable this is across versions, but It might make sense to change the string comparisons to a case insensitive match in case they decide to standardize things.

jvanasco avatar Feb 16 '18 18:02 jvanasco

Here's pull request for one I found: #21

agrrh avatar Feb 17 '18 00:02 agrrh