Forum Activity for @amartins

amartins
@amartins
01/14/19 05:22:16PM
48 posts

Bridge search neq or ne


Proxima

Nice. Thanks.
amartins
@amartins
01/14/19 12:38:30PM
48 posts

Bridge search neq or ne


Proxima

The Proxima documentation refers, in topic Searches - Valid Match Operators (Proxima » Documentation » Using Proxima » The Proxima Data Service), that a not equals operator as neq but I've found that in code the matching operator key is ne. I think this is not intentional, I'd like to know witch one will be the correct.
Thanks
updated by @amartins: 06/05/19 01:09:35AM
amartins
@amartins
09/26/18 02:11:28AM
48 posts

Proxima Search multiple words issue


Proxima

I already did.
Thanks for your help.
amartins
@amartins
09/25/18 03:31:39AM
48 posts

Proxima Search multiple words issue


Proxima

michael:
Where are you seeing that, It should be:
list($key, $opt, $val) = explode(' ', $v, 3);
so the 3rd part is all the trailing stuff.

Now it makes more sense, and a much cleaner solution. I will update it.
Thanks.
amartins
@amartins
09/24/18 10:11:26PM
48 posts

Proxima Search multiple words issue


Proxima

This is the URL passed
http://wow.mucodes.com/api/bridge/shoutcast/search?limit=2000&page=2&search=shoutcast_main_genre%20eq%20Easy%20Listening

From what I can check,
list($key, $opt, $val) = explode(" ", "shoutcast_main_genre eq Easy Listening")
will result in:
$key = "shoutcast_main_genre"
$opt = "eq"
$val = "Easy"

Meaning that "Listening" is discard.

I've made a workaround for it like this:
···
else {
                //list($key, $opt, $val, $val1) = explode(' ', $v);
                $arr = explode(' ', $v);
                $key = $arr[0];
                $opt = $arr[1];
                switch ($opt) {
                    case 'gt':
                        $opt = '>';
                        break;
                    case 'gte':
                        $opt = '>=';
                        break;
                    case 'lt':
                        $opt = '<';
                        break;
                    case 'lte':
                        $opt = '<=';
                        break;
                    case 'eq':
                        $opt = '=';
                        break;
                    case 'ne':
                        $opt = '!=';
                        break;
                }
                $search = "{$key} {$opt}";
                $size = sizeof($arr);
                for($i=2; $i < $size; $i++){
                   $search .= " " . $arr[$i];
                }
            }

            $_sc['search'][] = $search;
···

updated by @amartins: 09/24/18 10:12:28PM
amartins
@amartins
09/23/18 01:43:08PM
48 posts

Proxima Search multiple words issue


Proxima

I was facing an issue searching with 2 words using Proxima Bridge, I decide to check out and I figure this out (using log in include.php):
URL: /api/bridge/shoutcast/search?limit=2000&page=1&search=shoutcast_main_genre eq Easy Listening
Data Parsed:
Array
(
    [search] => Array
        (
            [0] => shoutcast_main_genre = Easy
        )

    [order_by] => Array
        (
            [_item_id] => numerical_desc
        )

    [skip_triggers] => 1
    [ignore_pending] => 1
    [privacy_check] => 
    [limit] => 100
)

Here the search array should be:
[search] => Array
        (
            [0] => shoutcast_main_genre = Easy Listening
        )
Am I right?
updated by @amartins: 12/25/18 06:34:04AM
amartins
@amartins
02/12/18 02:36:06PM
48 posts

How to become a developer?


Jamroom Developers

The module is part of Wowmusic system and is developed as Proxima module as we need it as a JSON API to use in Android app and later in iOS. We came across the need of a way to link social networks logins with Jamroom accounts with specific criteria of linkage and, when not existing, registration of a new user using the data provided by the social network API.
We've tried OneAll but it doesn't fit our needs, so we have put efforts since last week to build the Jamroom module and add the new features to our current Android SDK for Proxima. Current status is finishing our Proxima SDK new features integration in application an start tests. We've already tested module with a REST Client and it is working as we need, but, again, it needs to be tested more deeply.

The module is done and provide a way to use Proxima like style to login, link, signin using social network logins and also provides a way of link social login with an already existing Jamroom account which has a different email than the used in social login.

All this been said , yes we are planning to support the module in the next 3 years and to provide documentation.

Also we are planning to make our Proxima Android SDK available to others (no conditions yet defined).


Thanks for your help and patience.
amartins
@amartins
02/10/18 01:46:56PM
48 posts

How to become a developer?


Jamroom Developers

Ok. Will it be possible to donate the module and share with the community? If so: what do I have to provide?
amartins
@amartins
02/09/18 06:47:53AM
48 posts

How to become a developer?


Jamroom Developers

gary.moncrieff:
Iirc go to account settings and then the profile tab.

I can't find any option there as per attached image.
profile_Jamroom.jpg profile_Jamroom.jpg - 40KB
amartins
@amartins
02/09/18 04:26:32AM
48 posts

How to become a developer?


Jamroom Developers

I am building a module for Jamroom site, I was tyrying to package the module, just to try it, but I can't find or set the 'developer prefix'. How can I become a developer?
Screenshot from 2018-02-09 12-25-34.png Screenshot from 2018-02-09 12-25-34.png - 103KB

updated by @amartins: 05/14/18 01:39:09PM
1