/// @brief Returns an associative array with the labcache finds from given profileId. /// /// Returned fields: guid, name, date_found /// @param[in] int $profileId An integer with the users profile id.
/// - includeLabCaches (bool): If set to true, will include labcache finds. Note that most fields returned will be null.If used, the data with Geocache finds will be merged with Labcache finds. It's a hack though. All fields except those mentioned here will be set to NULL. The LUA script must be able to handle that.
Re: Labcaches January 15, 2020 06:18PM |
Registered: 6 years ago Posts: 4,127 |
Re: Labcaches January 15, 2020 06:27PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches January 15, 2020 07:13PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches January 15, 2020 07:15PM |
Registered: 6 years ago Posts: 4,127 |
Re: Labcaches March 03, 2020 01:21PM |
Registered: 5 years ago Posts: 315 |
local finds = PGC.GetFinds(profileId, { includeLabCaches = true, fields = {'gccode', 'cache_name', 'visitdate','type', 'country'}, order = 'OLDESTFIRST', filter = filter })
local finds = PGC.GetFinds(profileId, { includeLabCaches = true })
Re: Labcaches March 04, 2020 09:29AM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 04, 2020 01:07PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 04, 2020 10:32PM |
Registered: 5 years ago Posts: 315 |
local finds = PGC.GetFinds(profileId, { includeLabCaches = true })works correctly.
PGC.GetFinds(profileId, { includeLabCaches = true, fields = {'gccode', 'cache_name', 'visitdate','type', 'country'}, order = 'OLDESTFIRST', filter = filter })however results in some backend error (see checker). Specifically, the order parameter. Without it, it works fine.
Re: Labcaches March 05, 2020 12:15AM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches March 05, 2020 12:12PM |
Registered: 5 years ago Posts: 315 |
Quote
Not allowed: Trackable, Benchmarking, Waymarking logs, or specifying Lab Cache finds.
Re: Labcaches March 05, 2020 01:37PM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches March 05, 2020 02:50PM |
Registered: 5 years ago Posts: 315 |
Re: Labcaches March 06, 2020 11:20AM |
Admin Registered: 8 years ago Posts: 798 |
> local finds = PGC.GetFinds(profileId, { > includeLabCaches = true }) >> works correctly.
> PGC.GetFinds(profileId, { includeLabCaches = true, > fields = {'gccode', 'cache_name', > 'visitdate','type', 'country'}, order = > 'OLDESTFIRST', filter = filter }) >> however results in some backend error (see
'gccode' => 'e71611de-13a8-42c3-8b66-879021f7bae4', 'cache_id' => 1157519609, 'cache_name' => 'Adventure 10 - Find the image', 'type' => 'Labcache', 'difficulty' => NULL, 'terrain' => NULL, 'size' => NULL, 'owner_id' => NULL, 'placed_by' => NULL, 'latitude' => NULL, 'longitude' => NULL, 'elevation' => NULL, 'hidden' => NULL, 'last_publish_date' => NULL, 'country' => NULL, 'region' => NULL, 'county' => NULL, 'archived' => NULL, 'disabled' => NULL, 'premium' => NULL, 'last_find_date' => NULL, 'last_archive_date' => NULL, 'num_finds' => NULL, 'latest_logs' => NULL, 'favorite_points' => NULL, 'favorite_points_pct' => NULL, 'favorite_points_wilson' => NULL, 'last_cache_harvest' => NULL, 'last_log_harvest' => NULL, 'log_id' => NULL, 'visitdate' => '2020-01-27', 'length' => NULL, 'words' => NULL, 'attributes_set_1' => NULL, 'attributes_set_2' => NULL, 'attributes_unset_1' => NULL, 'attributes_unset_2' => NULL,
Re: Labcaches March 06, 2020 12:40PM |
Registered: 5 years ago Posts: 315 |
Re: Labcaches March 06, 2020 12:44PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 06, 2020 01:27PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 06, 2020 02:27PM |
Registered: 5 years ago Posts: 315 |
Re: Labcaches March 08, 2020 09:53AM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches March 08, 2020 09:57AM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 08, 2020 10:13AM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches August 13, 2020 11:20AM |
Registered: 7 years ago Posts: 58 |
Re: Labcaches March 08, 2020 10:17AM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches March 08, 2020 04:24PM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches March 12, 2020 06:05AM |
Registered: 7 years ago Posts: 1,848 |
Re: Labcaches August 13, 2020 11:31AM |
Registered: 6 years ago Posts: 4,127 |
Re: Labcaches August 13, 2020 11:39AM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches August 13, 2020 11:48AM |
Registered: 6 years ago Posts: 4,127 |
Re: Labcaches August 13, 2020 11:52AM |
Registered: 7 years ago Posts: 58 |
Re: Labcaches August 13, 2020 12:01PM |
Registered: 6 years ago Posts: 4,127 |
Re: Labcaches August 13, 2020 12:04PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches August 13, 2020 01:10PM |
Registered: 7 years ago Posts: 58 |
Re: Labcaches August 13, 2020 02:53PM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches August 13, 2020 11:52AM |
Admin Registered: 8 years ago Posts: 798 |
Re: Labcaches August 13, 2020 01:56PM |
Registered: 7 years ago Posts: 21,116 |
Re: Labcaches August 14, 2020 01:05AM |
Registered: 7 years ago Posts: 1,848 |
Re: Labcaches May 12, 2021 02:33PM |
Registered: 6 years ago Posts: 32 |
Re: Labcaches May 12, 2021 02:36PM |
Admin Registered: 8 years ago Posts: 798 |