Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
35 views

I have written a checker and a tag for it. The tag specifies to limit finds to one country using the standard API filter - New Zealand in this case, but some results are coming in from another country. Could someone please point out where I have gone wrong?

See https://project-gc.com/Challenges/GC4R9Z6/62293 for the checker, and run it with user Infoferret. Most finds are New Zealand, but on February and April 2002 you will see caches from London sneaking in.

The checker implements a partial Jasmer - for those countries where a full jasmer is not possible.

Any help is appreciated.

in Support and help by the Seagnoid (Expert) (44.6k points)
edited by the Seagnoid (Expert)
I have run this checker and it runs an error message and fails ? this is from the above link and the one picked up on the cache page (presumably the same one anyway)
Is that me or is there an issue here
Oops - I still had a typo in there. Fixed.

1 Answer

+1 vote
 
Best answer

It should work if written like

"Filter": { "country":["New Zealand"] }, 

where the country is all lowercase.

by DrAcorn (3.4k points)
selected by the Seagnoid (Expert)
That was it. Many thanks!
...