WordsAPI

פרמיום
Verified
על ידי dpventures | מְעוּדכָּן a month ago | Data
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

177ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Regular expression search not working?

Rapid account: Jk Jameskelly
jk_jameskelly
8 years ago

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 years ago

Closing as resolved.

Rapid account: Jk Jameskelly
jk_jameskelly Commented 8 years ago

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות