WordsAPI

FREEMIUM
Verified
āœ“
By dpventures | Updated 5 days ago | Data
Popularity

9.9 / 10

Latency

206ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Lettern pattern seems to have no affect

Rapid account: Softsafari
softsafari
7 years ago

Hello,
Doesnā€™t seem the letter pattern has any affect on the query. For instance, letternPattern = ^a.{4}$
should bring back letters that start with ā€œaā€ and have 4 letters after it?

https://wordsapiv1.p.mashape.com/words/?letterpattern=^a.{4}%24ā€™

But the response Iā€™m getting is below.

{ā€œqueryā€:{ā€œlimitā€:100,ā€œpageā€:1},ā€œresultsā€:{ā€œtotalā€:325331,ā€œdataā€:["'hood","'s gravenhage","'tween","'tween decks",".22",".22 caliber",".22 calibre",".22-caliber",".22-calibre",".38 caliber",".38 calibre",".38-caliber",".38-calibre",".45 caliber",".45 calibre",".45-caliber",".45-calibre",ā€œ0ā€,ā€œ1ā€,ā€œ1 chroniclesā€,ā€œ1 esdrasā€,ā€œ1 kingsā€,ā€œ1 maccabeesā€,ā€œ1 samuelā€,ā€œ1-dodecanolā€,ā€œ1-hitterā€,ā€œ10ā€,ā€œ10-memberedā€,ā€œ100ā€,ā€œ1000ā€,ā€œ10000ā€,ā€œ100000ā€,ā€œ1000000ā€,ā€œ1000000000ā€,ā€œ1000000000000ā€,ā€œ1000thā€,ā€œ100thā€,ā€œ101ā€,ā€œ101stā€,ā€œ105ā€,ā€œ105thā€,ā€œ10thā€,ā€œ11ā€,ā€œ11 novemberā€,ā€œ11-plusā€,ā€œ110ā€,ā€œ110thā€,ā€œ115ā€,ā€œ115thā€,ā€œ11thā€,ā€œ12ā€,ā€œ12-tone musicā€,ā€œ12-tone systemā€,ā€œ120ā€,ā€œ120thā€,ā€œ125ā€,ā€œ125thā€,ā€œ12thā€,ā€œ13ā€,ā€œ130ā€,ā€œ130thā€,ā€œ135ā€,ā€œ135thā€,ā€œ13thā€,ā€œ14ā€,ā€œ14 julyā€,ā€œ140ā€,ā€œ140thā€,ā€œ144ā€,ā€œ145ā€,ā€œ145thā€,ā€œ14thā€,ā€œ15ā€,ā€œ15 august 1945ā€,ā€œ15 may organizationā€,ā€œ15 minutesā€,ā€œ150ā€,ā€œ150thā€,ā€œ1530sā€,ā€œ155ā€,ā€œ155thā€,ā€œ15thā€,ā€œ16ā€,ā€œ16 pfā€,ā€œ160ā€,ā€œ160thā€,ā€œ165ā€,ā€œ165thā€,ā€œ16thā€,ā€œ17ā€,ā€œ17 novemberā€,ā€œ170ā€,ā€œ170thā€,ā€œ1728ā€,ā€œ175ā€,ā€œ1750sā€,ā€œ175thā€,ā€œ1760sā€,ā€œ1770sā€,ā€œ1780sā€]}}

Rapid account: Alebrun
alebrun Commented 7 years ago

This is (still? again?) not working. Iā€™m testing directly via https://market.mashape.com/wordsapi/wordsapi#

Rapid account: Softsafari
softsafari Commented 7 years ago

I found out what the problem was. The encoding for the letter pattern was not right. It was getting double encoded.

Join in the discussion - add comment below:

Login / Signup to post new comments