Skip to content

Use SMU Banner API #6

@Glavin001

Description

@Glavin001

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/icon-menu@2x.png",
        "phone": {
            "number": "(902) 420-5400"
        },
        "email": {
            "address": "webmaster@smu.ca"
        },
        "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/icon-career@2x.png",
            "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/icon-events@2x.png",
            "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/icon-notifications@2x.png",
            "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/icon-about@2x.png",
            "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/icon-tour@2x.png",
            "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/icon-news@2x.png",
            "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/icon-maps@2x.png",
            "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/icon-admissions@2x.png",
            "urls": {
                "url": "https://smuport.smu.ca"
            }
        },
        "mapp1391106976960": {
            "type": "web",
            "name": "Academics",
            "order": "11",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/icon-alumni@2x.png",
            "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/icon-directory@2x.png",
            "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/icon-dining@2x.png"
        },
        "mapp1391108086484": {
            "type": "web",
            "name": "Athletics",
            "order": "12",
            "icon": "https://mobile.elluciancloud.com/mobilecloud/images/mobile-icon-images/icon-weather@2x.png",
            "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/icon-image@2x.png",
            "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/icon-health@2x.png",
            "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/icon-library@2x.png",
            "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"
    }
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions