Skip to content

Instantly share code, notes, and snippets.

@MiaoziYu
Last active May 24, 2024 06:28
Show Gist options
  • Select an option

  • Save MiaoziYu/603d3b762d558372216052937f9febd1 to your computer and use it in GitHub Desktop.

Select an option

Save MiaoziYu/603d3b762d558372216052937f9febd1 to your computer and use it in GitHub Desktop.
Get listings

EndPoint:

GET https://mde-moderation.opendi.com/api/magnolia/serp/{categoryCharacter}/{categoryId}/{page}

Parameters:

categoryCharacter required

categoryId required

page optional

Success Response

https://mde-moderation.opendi.com/api/magnolia/serp/p/11860/1

{
    "status": 250,
    "modules": [
        {
            "module": "banner",
            "status": 404,
            "meta": {
                "filters": {
                    "position": "branche"
                }
            },
            "data": []
        },
        {
            "module": "navigation",
            "status": 404,
            "meta": {
                "filters": {
                    "type": "alphabet"
                },
                "result": {
                    "totalRows": 0,
                    "currentRows": 0,
                    "totalPages": 1,
                    "currentPage": 1,
                    "rowsPerPage": "",
                    "mappingUrl": ""
                }
            },
            "data": []
        },
        {
            "module": "eintragListe",
            "status": 200,
            "meta": {
                "filters": {
                    "guide": "branchen",
                    "brancheStartChar": "p",
                    "brancheId": "11860",
                    "brancheLinkName": "public-viewing",
                    "brancheName": "Public Viewing",
                    "seite": 1,
                    "locKreisLinkName": null,
                    "locOrtLinkName": null,
                    "locOrtsteilLinkName": null
                },
                "result": {
                    "totalRows": 73,
                    "currentRows": 73,
                    "totalPages": 1,
                    "currentPage": 1,
                    "rowsPerPage": 250,
                    "mappingUrl": "https://api.mde.de/service/branchenbuch/p/118601.html"
                }
            },
            "data": [
                {
                    "grund": [
                        {
                            "eintragId": 140194,
                            "kunde_id": 273149,
                            "name": "089 Bar",
                            "nameUeberhang": "",
                            "vorname": "",
                            "titel": "",
                            "nameErw": "",
                            "nameErw2": "",
                            "str": "Maximiliansplatz 5",
                            "hsnr": "",
                            "hsnrErw": "",
                            "adressZusatz": "",
                            "plz": "80333",
                            "ort": "München",
                            "geoBreite": 48.1422464,
                            "geoLaenge": 11.5702594,
                            "kreisLinkName": "muenchen",
                            "ortLinkName": "muenchen",
                            "ortsteilLinkName": "maxvorstadt",
                            "ortsteil": "Maxvorstadt",
                            "telIntVorwahl": "49",
                            "telVorwahl": "089",
                            "tel": "59988890",
                            "telDurchwahl": "",
                            "email": "[email protected]",
                            "url": "https://089-bar.de/",
                            "bewertungFreigabe": 1,
                            "numRatings": 10,
                            "avgRating": 4,
                            "numStars": 4,
                            "externalReviewUrl": null,
                            "externalReviewCount": 0,
                            "externalReviewScore": 0,
                            "alternativURL": "",
                            "slogan": "",
                            "teaserText": "",
                            "produktName": "Grundeinträge",
                            "template": "grund",
                            "kurzbeschreibung": "",
                            "displayDetailLink": "https://api.mde.de/veranstaltungen/orte/140194.html",
                            "mhp_id": 140194,
                            "mhpTyp_id": "fallback",
                            "displayBrancheLink": "https://api.mde.de/service/branchenbuch/muenchen/muenchen/maxvorstadt/P/11860.html",
                            "displayBranche": "Public Viewing Maxvorstadt, Universität",
                            "logo": false
                        },
                       ...
                    ]
                }
            ]
        },
        {
            "module": "meta",
            "status": 200,
            "meta": {
                "filters": {
                    "brancheId": "11860",
                    "brancheLinkName": "public-viewing",
                    "position": "branche",
                    "brancheStartChar": "p",
                    "type": "alphabet",
                    "seite": "",
                    "opComposite": "branchenbuchtrefferliste",
                    "opHybride": "false"
                },
                "result": {
                    "totalRows": 1,
                    "currentRows": 1,
                    "totalPages": 1,
                    "currentPage": 1,
                    "rowsPerPage": "",
                    "mappingUrl": ""
                }
            },
            "data": [
                {
                    "httpHeaders": [
                        {
                            "name": "Access-Control-Allow-Origin",
                            "value": "*"
                        }
                    ],
                    "breadcrumb": [
                        {
                            "navigationTitle": "",
                            "href": "https://api.mde.de"
                        },
                        {
                            "navigationTitle": "Branchenbuch",
                            "href": "https://api.mde.de/branchenbuch"
                        },
                        {
                            "navigationTitle": "Public Viewing in München",
                            "href": ""
                        }
                    ],
                    "metaTitle": "Public Viewing München auf muenchen.de",
                    "metaDescription": "Public Viewing München auf muenchen.de, 73 Einträge im offiziellen Stadtportal. Mit Telefonnummern, Adressen, Stadtplan und Fahrplanauskunft.",
                    "metaKeywords": " Public Viewing",
                    "canonicalUrl": "https://api.mde.de/branchenbuch/p/11860.html",
                    "etAreas": "MDE/de/branchenbuch/p/11860",
                    "headline": "Public Viewing München",
                    "signal": null,
                    "sucheWas": "Public Viewing",
                    "sucheWO": "",
                    "sucheWo": "München",
                    "area": {
                        "id": 226,
                        "slug": "muenchen",
                        "name": "München",
                        "type": "mucCenter"
                    },
                    "category": {
                        "numCards": 73,
                        "numPaid": 0,
                        "id": 11860,
                        "redirected": 0,
                        "startChar": "P",
                        "linkName": "public-viewing",
                        "blinkPartOne": "https://api.mde.de/service/branchenbuch",
                        "blinkPartTwo": "/P/11860",
                        "guideLinkName": "",
                        "guideName": "",
                        "name": "Public Viewing",
                        "accessCount": 166647
                    }
                }
            ]
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment