Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeviceStatusInfoSearch not imported #124

Open
evilthreads669966 opened this issue Apr 17, 2021 · 16 comments
Open

DeviceStatusInfoSearch not imported #124

evilthreads669966 opened this issue Apr 17, 2021 · 16 comments

Comments

@evilthreads669966
Copy link

DeviceStatusInfoSearch is not in my stack. I imported the SDK using gradle.build. It's missing from the SDK. In your documentation it shows it not as a inner class. If it is an inner class then what is it's outer class.

@evilthreads669966
Copy link
Author

I searched Github for DeviceStatusInfoSearch in code and it shows it being used in 2 repositories. However, not in Java. Is this a bug in the Java SDK?

@evilthreads669966
Copy link
Author

I am getting all devices through a search. And then I need to attain the DeviceStatusInfo for each device so I have access to its' properties such as its' coordinates, etcetera.

@evilthreads669966
Copy link
Author

This is pertinent as the real time map that you offer does not allow for the ability to export data for a vehicle. We need to be able to select a truck and then have the ability to export its data to a CSV file. So I am developing a system to accomplish this

@evilthreads669966
Copy link
Author

I can see you using it in the .net SDK

// Create the API object and authenticate
public static async Task Main(string[] args)
{
    // Create the API object and authenticate
    var api = new API("[email protected]", "password", null, "demo", "server");
    await api.AuthenticateAsync();

    // Get all devices
    var devices = await api.CallAsync<List<Device>>("Get", typeof(Device));
    Console.WriteLine("SerialNumber\tLatitude\tLongitude");
    foreach (Device device in devices)
    {
        // Get the Device Status Info which contains the current latitude and longitude for this device
        var results = await api.CallAsync<List<DeviceStatusInfo>>("Get", typeof(DeviceStatusInfo), new
        {
            search = new DeviceStatusInfoSearch
            {
                DeviceSearch = new DeviceSearch
                {
                    Id = device.Id
                }
            }
        });

        if (results.Count <= 0)
        {
            continue;
        }

@evilthreads669966
Copy link
Author

it's in the context of main

@evilthreads669966
Copy link
Author

I cannot move forward with this project until this bug is fixed or else I have to switch programming languages

@evilthreads669966
Copy link
Author

I guess the correct way to describe this issue is that your SDK is in my prelude but not the specific class that I am looking for.

@evilthreads669966
Copy link
Author

Sorry I just drank a couple beers and about to build this. I'm anxious to get started.

@evilthreads669966
Copy link
Author

I came out of retirement. I'm excited to work with you guys. I just can't really do anything right now

            (   (                ) (             (     (
            )\ ))\ )    *   ) ( /( )\ )     (    )\ )  )\ )
 (   (   ( (()/(()/(  ` )  /( )\()|()/((    )\  (()/( (()/(
 )\  )\  )\ /(_))(_))  ( )(_)|(_)\ /(_))\((((_)( /(_)) /(_))
((_)((_)((_|_))(_))   (_(_()) _((_|_))((_))\ _ )(_))_ (_))
| __\ \ / /|_ _| |    |_   _|| || | _ \ __(_)_\(_)   \/ __|
| _| \ V /  | || |__    | |  | __ |   / _| / _ \ | |) \__ \
|___| \_/  |___|____|   |_|  |_||_|_|_\___/_/ \_\|___/|___/

@evilthreads669966
Copy link
Author

In the meantime I'm going to be listening to Jimi Hendrix until. My first time. It's incredible. I never got passed carlos santana

@evilthreads669966
Copy link
Author

I wish I could trip acid and go back to the late 60s early 70s but we're in 2021 smoke a peace pipe.

@evilthreads669966
Copy link
Author

at a Jimi Hendrix concert of course

@evilthreads669966
Copy link
Author

I'm about to go through every Jimi Hendrix song while I wait

@evilthreads669966
Copy link
Author

@beefo I don't have 5 months. I've seen your last response time. The company I'm working for pays you a lot of money and build their business around your business. I'm not about to go in your sdk. I hate your javascript. Such an ugly language. Not only that your API is implemented within an ugly flat file

@evilthreads669966
Copy link
Author

you want me going in on your sdk that's fine but middle finger and evil threads banners are going up

@evilthreads669966
Copy link
Author

your code is ugly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant