We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa7f16 commit 39b0217Copy full SHA for 39b0217
2 files changed
composer.json
@@ -1,6 +1,6 @@
1
{
2
"name": "syntaxphoenix/bgpview-php",
3
- "version": "0.0.4",
+ "version": "0.0.5",
4
"type": "framework",
5
"autoload": {
6
"psr-4": {
src/BGPView.php
@@ -64,6 +64,11 @@ public function getAsnDownstreams(int $asNumber): ?array
64
return $this->getDataByApi('asn/' . $asNumber . '/downstreams')['data'];
65
}
66
67
+ public function getAsnIxs(int $asNumber): ?array
68
+ {
69
+ return $this->getDataByApi('asn/' . $asNumber . '/ixs')['data'];
70
+ }
71
+
72
public function getPrefix(string $ipAddress, int $cidr): ?array
73
74
return $this->getDataByApi('prefix/' . $ipAddress . '/' . $cidr)['data'];
0 commit comments