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

Use SMU Banner API #6

Open
Glavin001 opened this issue Mar 15, 2014 · 0 comments
Open

Use SMU Banner API #6

Glavin001 opened this issue Mar 15, 2014 · 0 comments
Assignees

Comments

@Glavin001
Copy link
Owner

With the release of the SMUapp there is a REST API available.

{
    "versions": {
        "ios": ["2.0.0"],
        "android": ["2.0.0"]
    },
    "layout": {
        "defaultMenuIcon": "true",
        "primaryColor": "6e0408",
        "headerTextColor": "ffffff",
        "accentColor": "5c96ae",
        "menuIconUrl": "https://mobile.elluciancloud.com/mobilecloud/images/icon-menu-iphone-retina.png",
        "subheaderTextColor": "ffffff",
        "homeUrlPhone": "https://smu-mobile.smu.ca:8443/images/bg04_1024x1024.png",
        "homeUrlTablet": "https://smu-mobile.smu.ca:8443/images/bg04_2048x2048.png",
        "schoolLogoPhone": "https://smu-mobile.smu.ca:8443/images/smu_school_logo.png"
    },
    "about": {
        "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
        "phone": {
            "number": "(902) 420-5400"
        },
        "email": {
            "address": "[email protected]"
        },
        "website": {
            "url": "http://www.smu.ca"
        },
        "privacy": {
            "url": "http://www.smu.ca/administration/foipop/",
            "display": "SMU Privacy Policy"
        },
        "contact": "923 Robie Street\nHalifax, Nova Scotia\nCanada B3H 3C3\nhttp://www.smu.ca/contact-01.html",
        "logoUrlPhone": "https://smu-mobile.smu.ca:8443/images/smu_about_logo.png",
        "version": {
            "url": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/version"
        }
    },
    "mapp": {
        "mapp1391106667424": {
            "type": "courses",
            "visible": "faculty",
            "name": "Courses",
            "order": "1",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "overview": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/courses/overview",
                "full": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/courses/fullview",
                "daily": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/courses/calendarview",
                "roster": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/courses/roster",
                "grades": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/grades"
            }
        },
        "mapp1391106700362": {
            "type": "grades",
            "name": "Grades",
            "order": "2",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "grades": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/grades"
            }
        },
        "mapp1391106731672": {
            "type": "notifications",
            "name": "Holds",
            "order": "3",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "notifications": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/notifications"
            }
        },
        "mapp1391106759705": {
            "type": "header",
            "name": "SMU Information",
            "order": "4"
        },
        "mapp1391106790972": {
            "type": "numbers",
            "name": "SMU Important Numbers",
            "order": "5",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "numbers": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/numbers/1503/M/CLOSURECANCELLATIONHOTLINES,GENERAL,OTHER,SECURITY?campusId=M&categoryId=Closure%2FCancellation+Hotlines&categoryId=General&categoryId=Other&categoryId=Security"
            }
        },
        "mapp1391106827359": {
            "type": "events",
            "name": "SMU Events",
            "order": "6",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "events": "https://smu-mobile.smu.ca:8443/banner-mobileserver/rest/events?namekeys=event1391091726749"
            }
        },
        "mapp1391106892806": {
            "type": "feed",
            "name": "SMU News",
            "order": "7",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "feed": "https://smu-mobile.smu.ca:8443/banner-mobileserver/rest/1.2/feed?namekeys=feed1391091752555"
            }
        },
        "mapp1391106922357": {
            "type": "maps",
            "name": "SMU Maps",
            "order": "8",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "buildings": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/building/1503",
                "campuses": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/campus/1503/M"
            }
        },
        "mapp1391106953657": {
            "type": "web",
            "name": "SMUport",
            "order": "10",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "https://smuport.smu.ca"
            }
        },
        "mapp1391106976960": {
            "type": "web",
            "name": "Academics",
            "order": "11",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://smu.ca/academics/welcome.html"
            }
        },
        "mapp1391107000904": {
            "type": "web",
            "name": "SMU People Finder",
            "order": "9",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://www.smu.ca/search_frame.html"
            },
            "external": "true"
        },
        "mapp1391107988768": {
            "type": "web",
            "name": "Residences & Housing",
            "order": "15",
            "urls": {
                "url": "http://www.smu.ca/campus-life/residences-and-housing.html"
            },
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]"
        },
        "mapp1391108086484": {
            "type": "web",
            "name": "Athletics",
            "order": "12",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://www.smu.ca/campus-life/athletics-and-recreation.html"
            }
        },
        "mapp1391108146729": {
            "type": "web",
            "name": "SMUSA",
            "order": "17",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://smusa.ca/"
            }
        },
        "mapp1391108220272": {
            "type": "web",
            "name": "Security",
            "order": "16",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/icon-signout_40.png",
            "urls": {
                "url": "http://www.smu.ca/campus-life/contact-security.html"
            }
        },
        "mapp1391108267253": {
            "type": "web",
            "name": "The Counselling Centre",
            "order": "13",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://www.smu.ca/campus-life/the-counselling-centre.html"
            }
        },
        "mapp1392731580538": {
            "type": "web",
            "name": "Library",
            "order": "14",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/[email protected]",
            "urls": {
                "url": "http://www.smu.ca/academics/the-patrick-power-library.html"
            }
        }
    },
    "analytics": {
        "client": null,
        "ellucian": "UA-42037363-1"
    },
    "security": {
        "url": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/security/getUserInfo"
    },
    "map": {
        "campuses": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/campus/1503",
        "buildings": "https://smu-mobile.smu.ca:8443/banner-mobileserver/api/2.0/building/1503"
    }
}
@Glavin001 Glavin001 self-assigned this Mar 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant