WordsAPI

FREEMIUM
Verified
By dpventures | Updated לפני 15 ימים | Data
Popularity

9.9 / 10

Latency

190ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Regular expression search not working?

Rapid account: Jk Jameskelly
jk_jameskelly
לפני 8 שנים

I’m trying to use the Search endpoint with a regular expression and it doesn’t seem to be working. If I run the Request Example from https://market.mashape.com/wordsapi/wordsapi#search, it just returns the first 100 words that start with ’ or a number. It looks like it ignores some of the params.

Is it possible to use regular expression with search, and if it is, can you please provide a working example? Thanks

Rapid account: Wordsapi
wordsapi Commented לפני 7 שנים

Closing as resolved.

Rapid account: Jk Jameskelly
jk_jameskelly Commented לפני 8 שנים

I realised what the problem is. In the documentation, some of the parameters are written in lower case like ‘letterpattern’, ‘frequencymin’, but the API expects mixed case ‘letterPattern’, ‘frequencyMin’. The documentation needs to be updated for search

Join in the discussion - add comment below:

Login / Signup to post new comments